[libcxx] [test] Rename _Tp to T. NFCI.
This improves readability and (theoretically) improves portability, as _Ugly names are reserved. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@310758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
template <class _Tp>
|
||||
template <class T>
|
||||
struct is_transparent
|
||||
{
|
||||
private:
|
||||
@@ -19,7 +19,7 @@ private:
|
||||
template <class _Up> static __two __test(...);
|
||||
template <class _Up> static char __test(typename _Up::is_transparent* = 0);
|
||||
public:
|
||||
static const bool value = sizeof(__test<_Tp>(0)) == 1;
|
||||
static const bool value = sizeof(__test<T>(0)) == 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
template <class _Tp>
|
||||
template <class T>
|
||||
struct is_transparent
|
||||
{
|
||||
private:
|
||||
@@ -19,7 +19,7 @@ private:
|
||||
template <class _Up> static __two __test(...);
|
||||
template <class _Up> static char __test(typename _Up::is_transparent* = 0);
|
||||
public:
|
||||
static const bool value = sizeof(__test<_Tp>(0)) == 1;
|
||||
static const bool value = sizeof(__test<T>(0)) == 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
template <class _Tp>
|
||||
template <class T>
|
||||
struct is_transparent
|
||||
{
|
||||
private:
|
||||
@@ -19,7 +19,7 @@ private:
|
||||
template <class _Up> static __two __test(...);
|
||||
template <class _Up> static char __test(typename _Up::is_transparent* = 0);
|
||||
public:
|
||||
static const bool value = sizeof(__test<_Tp>(0)) == 1;
|
||||
static const bool value = sizeof(__test<T>(0)) == 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
template <class _Tp>
|
||||
template <class T>
|
||||
struct is_transparent
|
||||
{
|
||||
private:
|
||||
@@ -19,7 +19,7 @@ private:
|
||||
template <class _Up> static __two __test(...);
|
||||
template <class _Up> static char __test(typename _Up::is_transparent* = 0);
|
||||
public:
|
||||
static const bool value = sizeof(__test<_Tp>(0)) == 1;
|
||||
static const bool value = sizeof(__test<T>(0)) == 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user