diff --git a/include/__functional_base b/include/__functional_base index 1c337d8b..6766793d 100644 --- a/include/__functional_base +++ b/include/__functional_base @@ -451,10 +451,10 @@ public: } }; -template struct ____is_reference_wrapper : public false_type {}; -template struct ____is_reference_wrapper > : public true_type {}; +template struct __is_reference_wrapper_impl : public false_type {}; +template struct __is_reference_wrapper_impl > : public true_type {}; template struct __is_reference_wrapper - : public ____is_reference_wrapper::type> {}; + : public __is_reference_wrapper_impl::type> {}; template inline _LIBCPP_INLINE_VISIBILITY diff --git a/include/__functional_base_03 b/include/__functional_base_03 index 296dd8db..f297ee05 100644 --- a/include/__functional_base_03 +++ b/include/__functional_base_03 @@ -1047,10 +1047,10 @@ public: } }; -template struct ____is_reference_wrapper : public false_type {}; -template struct ____is_reference_wrapper > : public true_type {}; +template struct __is_reference_wrapper_impl : public false_type {}; +template struct __is_reference_wrapper_impl > : public true_type {}; template struct __is_reference_wrapper - : public ____is_reference_wrapper::type> {}; + : public __is_reference_wrapper_impl::type> {}; template inline _LIBCPP_INLINE_VISIBILITY diff --git a/include/type_traits b/include/type_traits index 04e5fd14..ece19fa5 100644 --- a/include/type_traits +++ b/include/type_traits @@ -293,15 +293,15 @@ template struct _LIBCPP_TYPE_VIS_ONLY is_void // __is_nullptr_t -template struct ____is_nullptr_t : public false_type {}; -template <> struct ____is_nullptr_t : public true_type {}; +template struct __is_nullptr_t_impl : public false_type {}; +template <> struct __is_nullptr_t_impl : public true_type {}; template struct _LIBCPP_TYPE_VIS_ONLY __is_nullptr_t - : public ____is_nullptr_t::type> {}; + : public __is_nullptr_t_impl::type> {}; #if _LIBCPP_STD_VER > 11 template struct _LIBCPP_TYPE_VIS_ONLY is_null_pointer - : public ____is_nullptr_t::type> {}; + : public __is_nullptr_t_impl::type> {}; #endif // is_integral @@ -644,13 +644,13 @@ template using add_pointer_t = typename add_pointer<_Tp>::type; // is_signed template ::value> -struct ___is_signed : public integral_constant {}; +struct __is_signed_impl : public integral_constant {}; template -struct ___is_signed<_Tp, false> : public true_type {}; // floating point +struct __is_signed_impl<_Tp, false> : public true_type {}; // floating point template ::value> -struct __is_signed : public ___is_signed<_Tp> {}; +struct __is_signed : public __is_signed_impl<_Tp> {}; template struct __is_signed<_Tp, false> : public false_type {}; @@ -659,13 +659,13 @@ template struct _LIBCPP_TYPE_VIS_ONLY is_signed : public __is_signed // is_unsigned template ::value> -struct ___is_unsigned : public integral_constant {}; +struct __is_unsigned_impl : public integral_constant {}; template -struct ___is_unsigned<_Tp, false> : public false_type {}; // floating point +struct __is_unsigned_impl<_Tp, false> : public false_type {}; // floating point template ::value> -struct __is_unsigned : public ___is_unsigned<_Tp> {}; +struct __is_unsigned : public __is_unsigned_impl<_Tp> {}; template struct __is_unsigned<_Tp, false> : public false_type {};