@@ -280,53 +280,53 @@ template <class _Tp> using remove_cv_t = typename remove_cv<_Tp>::type;
280
280
281
281
// is_void
282
282
283
- template <class _Tp > struct __is_void : public false_type {};
284
- template <> struct __is_void <void > : public true_type {};
283
+ template <class _Tp > struct __libcpp_is_void : public false_type {};
284
+ template <> struct __libcpp_is_void <void > : public true_type {};
285
285
286
286
template <class _Tp > struct _LIBCPP_TYPE_VIS is_void
287
- : public __is_void <typename remove_cv<_Tp>::type> {};
287
+ : public __libcpp_is_void <typename remove_cv<_Tp>::type> {};
288
288
289
289
// __is_nullptr_t
290
290
291
- template <class _Tp > struct ____is_nullptr_t : public false_type {};
292
- template <> struct ____is_nullptr_t <nullptr_t > : public true_type {};
291
+ template <class _Tp > struct __libcpp___is_nullptr : public false_type {};
292
+ template <> struct __libcpp___is_nullptr <nullptr_t > : public true_type {};
293
293
294
294
template <class _Tp > struct _LIBCPP_TYPE_VIS __is_nullptr_t
295
- : public ____is_nullptr_t <typename remove_cv<_Tp>::type> {};
295
+ : public __libcpp___is_nullptr <typename remove_cv<_Tp>::type> {};
296
296
297
297
// is_integral
298
298
299
- template <class _Tp > struct __is_integral : public false_type {};
300
- template <> struct __is_integral <bool > : public true_type {};
301
- template <> struct __is_integral <char > : public true_type {};
302
- template <> struct __is_integral <signed char > : public true_type {};
303
- template <> struct __is_integral <unsigned char > : public true_type {};
304
- template <> struct __is_integral <wchar_t > : public true_type {};
299
+ template <class _Tp > struct __libcpp_is_integral : public false_type {};
300
+ template <> struct __libcpp_is_integral <bool > : public true_type {};
301
+ template <> struct __libcpp_is_integral <char > : public true_type {};
302
+ template <> struct __libcpp_is_integral <signed char > : public true_type {};
303
+ template <> struct __libcpp_is_integral <unsigned char > : public true_type {};
304
+ template <> struct __libcpp_is_integral <wchar_t > : public true_type {};
305
305
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
306
- template <> struct __is_integral <char16_t > : public true_type {};
307
- template <> struct __is_integral <char32_t > : public true_type {};
306
+ template <> struct __libcpp_is_integral <char16_t > : public true_type {};
307
+ template <> struct __libcpp_is_integral <char32_t > : public true_type {};
308
308
#endif // _LIBCPP_HAS_NO_UNICODE_CHARS
309
- template <> struct __is_integral <short > : public true_type {};
310
- template <> struct __is_integral <unsigned short > : public true_type {};
311
- template <> struct __is_integral <int > : public true_type {};
312
- template <> struct __is_integral <unsigned int > : public true_type {};
313
- template <> struct __is_integral <long > : public true_type {};
314
- template <> struct __is_integral <unsigned long > : public true_type {};
315
- template <> struct __is_integral <long long > : public true_type {};
316
- template <> struct __is_integral <unsigned long long > : public true_type {};
309
+ template <> struct __libcpp_is_integral <short > : public true_type {};
310
+ template <> struct __libcpp_is_integral <unsigned short > : public true_type {};
311
+ template <> struct __libcpp_is_integral <int > : public true_type {};
312
+ template <> struct __libcpp_is_integral <unsigned int > : public true_type {};
313
+ template <> struct __libcpp_is_integral <long > : public true_type {};
314
+ template <> struct __libcpp_is_integral <unsigned long > : public true_type {};
315
+ template <> struct __libcpp_is_integral <long long > : public true_type {};
316
+ template <> struct __libcpp_is_integral <unsigned long long > : public true_type {};
317
317
318
318
template <class _Tp > struct _LIBCPP_TYPE_VIS is_integral
319
- : public __is_integral <typename remove_cv<_Tp>::type> {};
319
+ : public __libcpp_is_integral <typename remove_cv<_Tp>::type> {};
320
320
321
321
// is_floating_point
322
322
323
- template <class _Tp > struct __is_floating_point : public false_type {};
324
- template <> struct __is_floating_point <float > : public true_type {};
325
- template <> struct __is_floating_point <double > : public true_type {};
326
- template <> struct __is_floating_point <long double > : public true_type {};
323
+ template <class _Tp > struct __libcpp_is_floating_point : public false_type {};
324
+ template <> struct __libcpp_is_floating_point <float > : public true_type {};
325
+ template <> struct __libcpp_is_floating_point <double > : public true_type {};
326
+ template <> struct __libcpp_is_floating_point <long double > : public true_type {};
327
327
328
328
template <class _Tp > struct _LIBCPP_TYPE_VIS is_floating_point
329
- : public __is_floating_point <typename remove_cv<_Tp>::type> {};
329
+ : public __libcpp_is_floating_point <typename remove_cv<_Tp>::type> {};
330
330
331
331
// is_array
332
332
@@ -339,11 +339,11 @@ template <class _Tp, size_t _Np> struct _LIBCPP_TYPE_VIS is_array<_Tp[_Np]>
339
339
340
340
// is_pointer
341
341
342
- template <class _Tp > struct __is_pointer : public false_type {};
343
- template <class _Tp > struct __is_pointer <_Tp*> : public true_type {};
342
+ template <class _Tp > struct __libcpp_is_pointer : public false_type {};
343
+ template <class _Tp > struct __libcpp_is_pointer <_Tp*> : public true_type {};
344
344
345
345
template <class _Tp > struct _LIBCPP_TYPE_VIS is_pointer
346
- : public __is_pointer <typename remove_cv<_Tp>::type> {};
346
+ : public __libcpp_is_pointer <typename remove_cv<_Tp>::type> {};
347
347
348
348
// is_reference
349
349
@@ -419,29 +419,29 @@ template <class _Tp, bool = is_class<_Tp>::value ||
419
419
is_void<_Tp>::value ||
420
420
is_reference<_Tp>::value ||
421
421
is_same<_Tp, nullptr_t >::value >
422
- struct __is_function
422
+ struct __libcpp_is_function
423
423
: public integral_constant<bool , sizeof (__is_function_imp::__test<_Tp>(__is_function_imp::__source<_Tp>())) == 1 >
424
424
{};
425
- template <class _Tp > struct __is_function <_Tp, true > : public false_type {};
425
+ template <class _Tp > struct __libcpp_is_function <_Tp, true > : public false_type {};
426
426
427
427
template <class _Tp > struct _LIBCPP_TYPE_VIS is_function
428
- : public __is_function <_Tp> {};
428
+ : public __libcpp_is_function <_Tp> {};
429
429
430
430
// is_member_function_pointer
431
431
432
- template <class _Tp > struct __is_member_function_pointer : public false_type {};
433
- template <class _Tp , class _Up > struct __is_member_function_pointer <_Tp _Up::*> : public is_function<_Tp> {};
432
+ template <class _Tp > struct __libcpp_is_member_function_pointer : public false_type {};
433
+ template <class _Tp , class _Up > struct __libcpp_is_member_function_pointer <_Tp _Up::*> : public is_function<_Tp> {};
434
434
435
435
template <class _Tp > struct _LIBCPP_TYPE_VIS is_member_function_pointer
436
- : public __is_member_function_pointer <typename remove_cv<_Tp>::type> {};
436
+ : public __libcpp_is_member_function_pointer <typename remove_cv<_Tp>::type> {};
437
437
438
438
// is_member_pointer
439
439
440
- template <class _Tp > struct __is_member_pointer : public false_type {};
441
- template <class _Tp , class _Up > struct __is_member_pointer <_Tp _Up::*> : public true_type {};
440
+ template <class _Tp > struct __libcpp_is_member_pointer : public false_type {};
441
+ template <class _Tp , class _Up > struct __libcpp_is_member_pointer <_Tp _Up::*> : public true_type {};
442
442
443
443
template <class _Tp > struct _LIBCPP_TYPE_VIS is_member_pointer
444
- : public __is_member_pointer <typename remove_cv<_Tp>::type> {};
444
+ : public __libcpp_is_member_pointer <typename remove_cv<_Tp>::type> {};
445
445
446
446
// is_member_object_pointer
447
447
@@ -640,11 +640,11 @@ template <class _Tp>
640
640
struct ___is_signed <_Tp, false > : public true_type {}; // floating point
641
641
642
642
template <class _Tp , bool = is_arithmetic<_Tp>::value>
643
- struct __is_signed : public ___is_signed <_Tp> {};
643
+ struct __libcpp_is_signed : public ___is_signed <_Tp> {};
644
644
645
- template <class _Tp > struct __is_signed <_Tp, false > : public false_type {};
645
+ template <class _Tp > struct __libcpp_is_signed <_Tp, false > : public false_type {};
646
646
647
- template <class _Tp > struct _LIBCPP_TYPE_VIS is_signed : public __is_signed <_Tp> {};
647
+ template <class _Tp > struct _LIBCPP_TYPE_VIS is_signed : public __libcpp_is_signed <_Tp> {};
648
648
649
649
// is_unsigned
650
650
@@ -655,11 +655,11 @@ template <class _Tp>
655
655
struct ___is_unsigned <_Tp, false > : public false_type {}; // floating point
656
656
657
657
template <class _Tp , bool = is_arithmetic<_Tp>::value>
658
- struct __is_unsigned : public ___is_unsigned <_Tp> {};
658
+ struct __libcpp_is_unsigned : public ___is_unsigned <_Tp> {};
659
659
660
- template <class _Tp > struct __is_unsigned <_Tp, false > : public false_type {};
660
+ template <class _Tp > struct __libcpp_is_unsigned <_Tp, false > : public false_type {};
661
661
662
- template <class _Tp > struct _LIBCPP_TYPE_VIS is_unsigned : public __is_unsigned <_Tp> {};
662
+ template <class _Tp > struct _LIBCPP_TYPE_VIS is_unsigned : public __libcpp_is_unsigned <_Tp> {};
663
663
664
664
// rank
665
665
0 commit comments