|
|
|
@ -103,7 +103,7 @@ template <class T> struct remove_reference; |
|
|
|
|
template <class T> struct add_reference; |
|
|
|
|
template <class T> struct remove_pointer; |
|
|
|
|
template <class T, class U> struct is_same; |
|
|
|
|
#if !defined(_MSC_VER) && !(defined(__GNUC__) && __GNUC__ <= 3) |
|
|
|
|
#if !(defined(__GNUC__) && __GNUC__ <= 3) |
|
|
|
|
template <class From, class To> struct is_convertible; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
@ -322,7 +322,7 @@ template<typename T, typename U> struct is_same : public false_type { }; |
|
|
|
|
template<typename T> struct is_same<T, T> : public true_type { }; |
|
|
|
|
|
|
|
|
|
// Specified by TR1 [4.6] Relationships between types
|
|
|
|
|
#if !defined(_MSC_VER) && !(defined(__GNUC__) && __GNUC__ <= 3) |
|
|
|
|
#if !(defined(__GNUC__) && __GNUC__ <= 3) |
|
|
|
|
namespace type_traits_internal { |
|
|
|
|
|
|
|
|
|
// This class is an implementation detail for is_convertible, and you
|
|
|
|
|