diff --git a/libcudacxx/include/cuda/std/__cccl/dialect.h b/libcudacxx/include/cuda/std/__cccl/dialect.h index 16b072373a..bb49fa345e 100644 --- a/libcudacxx/include/cuda/std/__cccl/dialect.h +++ b/libcudacxx/include/cuda/std/__cccl/dialect.h @@ -107,7 +107,7 @@ // Variable templates are only available from C++14 onwards and require some compiler support #if _CCCL_STD_VER <= 2011 || !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304L) -# define _CCCL_NO_VARIABLE_TEMPALTES +# define _CCCL_NO_VARIABLE_TEMPLATES #endif // _CCCL_STD_VER <= 2011 // We need to treat host and device separately diff --git a/libcudacxx/include/cuda/std/__type_traits/alignment_of.h b/libcudacxx/include/cuda/std/__type_traits/alignment_of.h index 0fa566e39a..8365d00534 100644 --- a/libcudacxx/include/cuda/std/__type_traits/alignment_of.h +++ b/libcudacxx/include/cuda/std/__type_traits/alignment_of.h @@ -29,10 +29,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT alignment_of : public integral_constant {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr size_t alignment_of_v = _LIBCUDACXX_ALIGNOF(_Tp); -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/conjunction.h b/libcudacxx/include/cuda/std/__type_traits/conjunction.h index dcaa2e6095..68f61fb80a 100644 --- a/libcudacxx/include/cuda/std/__type_traits/conjunction.h +++ b/libcudacxx/include/cuda/std/__type_traits/conjunction.h @@ -55,10 +55,10 @@ template struct conjunction<_Arg, _Args...> : _If> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool conjunction_v = conjunction<_Args...>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/disjunction.h b/libcudacxx/include/cuda/std/__type_traits/disjunction.h index fbb00f463a..201225891c 100644 --- a/libcudacxx/include/cuda/std/__type_traits/disjunction.h +++ b/libcudacxx/include/cuda/std/__type_traits/disjunction.h @@ -65,10 +65,10 @@ struct disjunction : _Or<_Args...> {}; #endif // !MSVC -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool disjunction_v = _Or<_Args...>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/extent.h b/libcudacxx/include/cuda/std/__type_traits/extent.h index ff27d1503c..54e0271334 100644 --- a/libcudacxx/include/cuda/std/__type_traits/extent.h +++ b/libcudacxx/include/cuda/std/__type_traits/extent.h @@ -32,10 +32,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT extent : integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr size_t extent_v = _CCCL_BUILTIN_ARRAY_EXTENT(_Tp, _Ip); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_ARRAY_EXTENT ^^^ / vvv !_CCCL_BUILTIN_ARRAY_EXTENT vvv @@ -56,10 +56,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT extent<_Tp[_Np], _Ip> : public integral_constant::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr size_t extent_v = extent<_Tp, _Ip>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_ARRAY_EXTENT diff --git a/libcudacxx/include/cuda/std/__type_traits/has_unique_object_representation.h b/libcudacxx/include/cuda/std/__type_traits/has_unique_object_representation.h index a41f5d4d71..b6d878a323 100644 --- a/libcudacxx/include/cuda/std/__type_traits/has_unique_object_representation.h +++ b/libcudacxx/include/cuda/std/__type_traits/has_unique_object_representation.h @@ -33,10 +33,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT has_unique_object_representations : public integral_constant>)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool has_unique_object_representations_v = has_unique_object_representations<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif diff --git a/libcudacxx/include/cuda/std/__type_traits/has_virtual_destructor.h b/libcudacxx/include/cuda/std/__type_traits/has_virtual_destructor.h index 63ced99173..6e5440e513 100644 --- a/libcudacxx/include/cuda/std/__type_traits/has_virtual_destructor.h +++ b/libcudacxx/include/cuda/std/__type_traits/has_virtual_destructor.h @@ -39,10 +39,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT has_virtual_destructor : public false_type #endif // defined(_CCCL_BUILTIN_HAS_VIRTUAL_DESTRUCTOR) && !defined(_LIBCUDACXX_USE_HAS_VIRTUAL_DESTRUCTOR_FALLBACK) -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool has_virtual_destructor_v = has_virtual_destructor<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_abstract.h b/libcudacxx/include/cuda/std/__type_traits/is_abstract.h index 02223c853d..80296daab2 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_abstract.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_abstract.h @@ -28,10 +28,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_abstract : public integral_constant {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_abstract_v = __is_abstract(_Tp); -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_aggregate.h b/libcudacxx/include/cuda/std/__type_traits/is_aggregate.h index 302a06814a..4e0604f45b 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_aggregate.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_aggregate.h @@ -30,10 +30,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_aggregate : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_aggregate_v = _CCCL_BUILTIN_IS_AGGREGATE(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // _CCCL_STD_VER > 2011 && defined(_CCCL_BUILTIN_IS_AGGREGATE) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_arithmetic.h b/libcudacxx/include/cuda/std/__type_traits/is_arithmetic.h index 572043711c..0ba1a5138c 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_arithmetic.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_arithmetic.h @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_arithmetic : public integral_constant::value || is_floating_point<_Tp>::value> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_arithmetic_v = is_arithmetic<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_array.h b/libcudacxx/include/cuda/std/__type_traits/is_array.h index af2dc7b4bd..703899a55f 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_array.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_array.h @@ -33,10 +33,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_array : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_array_v = _CCCL_BUILTIN_IS_ARRAY(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -50,10 +50,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_array<_Tp[_Np]> : public true_type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_array_v = is_array<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_ARRAY) && !defined(_LIBCUDACXX_USE_IS_ARRAY_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_assignable.h index a5416157b8..531e9ebe1d 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_assignable.h @@ -39,10 +39,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_assignable : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_assignable_v = _CCCL_BUILTIN_IS_ASSIGNABLE(_T1, _T2); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -66,10 +66,10 @@ template struct is_assignable : public __is_assignable_imp<_Tp, _Arg> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_assignable_v = is_assignable<_Tp, _Arg>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_ASSIGNABLE) && !defined(_LIBCUDACXX_USE_IS_ASSIGNABLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_base_of.h b/libcudacxx/include/cuda/std/__type_traits/is_base_of.h index aa4392c371..1dbed5d825 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_base_of.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_base_of.h @@ -34,10 +34,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_base_of : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_base_of_v = _CCCL_BUILTIN_IS_BASE_OF(_Bp, _Dp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // defined(_CCCL_BUILTIN_IS_BASE_OF) && !defined(_LIBCUDACXX_USE_IS_BASE_OF_FALLBACK) @@ -71,10 +71,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_base_of : public integral_constant::value && sizeof(__is_base_of_imp::__test<_Bp, _Dp>(0)) == 2> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_base_of_v = is_base_of<_Bp, _Dp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_BASE_OF) && !defined(_LIBCUDACXX_USE_IS_BASE_OF_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_class.h b/libcudacxx/include/cuda/std/__type_traits/is_class.h index 3017023ef0..dc1a5d47e4 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_class.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_class.h @@ -36,10 +36,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_class : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_class_v = _CCCL_BUILTIN_IS_CLASS(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -56,10 +56,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_class : public integral_constant(0)) == 1 && !is_union<_Tp>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_class_v = is_class<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_CLASS) && !defined(_LIBCUDACXX_USE_IS_CLASS_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_compound.h b/libcudacxx/include/cuda/std/__type_traits/is_compound.h index e423514d3d..005b9ce1f5 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_compound.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_compound.h @@ -31,10 +31,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_compound : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_compound_v = _CCCL_BUILTIN_IS_COMPOUND(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_COMPOUND ^^^ / vvv !_CCCL_BUILTIN_IS_COMPOUND vvv @@ -42,10 +42,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_compound : public integral_constant::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_compound_v = is_compound<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_COMPOUND diff --git a/libcudacxx/include/cuda/std/__type_traits/is_const.h b/libcudacxx/include/cuda/std/__type_traits/is_const.h index 8321cb7a69..3f6e775557 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_const.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_const.h @@ -30,10 +30,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_const : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_const_v = _CCCL_BUILTIN_IS_CONST(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_CONST ^^^ / vvv !_CCCL_BUILTIN_IS_CONST vvv @@ -44,10 +44,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_const<_Tp const> : public true_type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_const_v = is_const<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_CONST diff --git a/libcudacxx/include/cuda/std/__type_traits/is_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_constructible.h index a5fc6e656f..3a700adffe 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_constructible.h @@ -153,20 +153,20 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_constructible : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_constructible_v = _CCCL_BUILTIN_IS_CONSTRUCTIBLE(_Tp, _Args...); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_constructible : public __libcpp_is_constructible<_Tp, _Args...>::type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_constructible_v = is_constructible<_Tp, _Args...>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_CONSTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_CONSTRUCTIBLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_convertible.h b/libcudacxx/include/cuda/std/__type_traits/is_convertible.h index 9e94abda66..3e41019c65 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_convertible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_convertible.h @@ -38,10 +38,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_convertible : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_convertible_v = _CCCL_BUILTIN_IS_CONVERTIBLE_TO(_T1, _T2); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES # ifdef _CCCL_COMPILER_MSVC // Workaround for DevCom-1627396 template @@ -198,10 +198,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_convertible : public __is_convertible_fa static const size_t __complete_check2 = __is_convertible_check<_T2>::__v; }; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_convertible_v = is_convertible<_From, _To>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_CONVERTIBLE_TO diff --git a/libcudacxx/include/cuda/std/__type_traits/is_copy_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_copy_assignable.h index 69bacd1bb9..a4cc2bb921 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_copy_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_copy_assignable.h @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_copy_assignable : public is_assignable<__add_lvalue_reference_t<_Tp>, __add_lvalue_reference_t::type>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_copy_assignable_v = is_copy_assignable<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_copy_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_copy_constructible.h index 2a57157abc..eb00b15e64 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_copy_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_copy_constructible.h @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_copy_constructible : public is_constructible<_Tp, __add_lvalue_reference_t::type>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_copy_constructible_v = is_copy_constructible<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_default_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_default_constructible.h index 549c149f95..713ffa8f6a 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_default_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_default_constructible.h @@ -28,10 +28,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_default_constructible : public is_constructible<_Tp> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_default_constructible_v = is_constructible_v<_Tp>; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_destructible.h b/libcudacxx/include/cuda/std/__type_traits/is_destructible.h index 634dfc6333..8c0aa72063 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_destructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_destructible.h @@ -35,10 +35,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_destructible : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_destructible_v = _CCCL_BUILTIN_IS_DESTRUCTIBLE(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_DESTRUCTIBLE ^^^ / vvv !_CCCL_BUILTIN_IS_DESTRUCTIBLE vvv @@ -103,10 +103,10 @@ template <> struct is_destructible : public false_type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_destructible_v = is_destructible<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_DESTRUCTIBLE diff --git a/libcudacxx/include/cuda/std/__type_traits/is_empty.h b/libcudacxx/include/cuda/std/__type_traits/is_empty.h index 7783093b9a..4b11bc7da8 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_empty.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_empty.h @@ -31,10 +31,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_empty : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_empty_v = _CCCL_BUILTIN_IS_EMPTY(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -61,10 +61,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_empty : public __libcpp_empty<_Tp> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_empty_v = is_empty<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_EMPTY) && !defined(_LIBCUDACXX_USE_IS_EMPTY_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_enum.h b/libcudacxx/include/cuda/std/__type_traits/is_enum.h index 7fe2856c51..e33cc4d2e3 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_enum.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_enum.h @@ -40,10 +40,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_enum : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_enum_v = _CCCL_BUILTIN_IS_ENUM(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -56,10 +56,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_enum && !is_union<_Tp>::value && !is_class<_Tp>::value && !is_function<_Tp>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_enum_v = is_enum<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_ENUM) && !defined(_LIBCUDACXX_USE_IS_ENUM_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_extended_floating_point.h b/libcudacxx/include/cuda/std/__type_traits/is_extended_floating_point.h index 85c88064d6..dcc4330e10 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_extended_floating_point.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_extended_floating_point.h @@ -28,7 +28,7 @@ template struct __is_extended_floating_point : false_type {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool __is_extended_floating_point_v # if defined(_CCCL_NO_INLINE_VARIABLES) @@ -36,7 +36,7 @@ _CCCL_INLINE_VAR constexpr bool __is_extended_floating_point_v # else // ^^^ _CCCL_NO_INLINE_VARIABLES ^^^ / vvv !_CCCL_NO_INLINE_VARIABLES vvv = false; # endif // !_CCCL_NO_INLINE_VARIABLES -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES #if defined(_LIBCUDACXX_HAS_NVFP16) # include diff --git a/libcudacxx/include/cuda/std/__type_traits/is_final.h b/libcudacxx/include/cuda/std/__type_traits/is_final.h index 5924355a6c..61b1b66dd2 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_final.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_final.h @@ -36,10 +36,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_final : public integral_constant _CCCL_INLINE_VAR constexpr bool is_final_v = _CCCL_BUILTIN_IS_FINAL(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -53,10 +53,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_final : public false_type {}; # endif -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_final_v = false; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_FINAL) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_floating_point.h b/libcudacxx/include/cuda/std/__type_traits/is_floating_point.h index 452677c046..5ce41f0f2f 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_floating_point.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_floating_point.h @@ -42,10 +42,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_floating_point : public __libcpp_is_floating_point<__remove_cv_t<_Tp>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_floating_point_v = is_floating_point<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_function.h b/libcudacxx/include/cuda/std/__type_traits/is_function.h index a7676026e1..4a80c1786e 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_function.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_function.h @@ -32,10 +32,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_function : integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_function_v = _CCCL_BUILTIN_IS_FUNCTION(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -44,10 +44,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_function : public integral_constant::value || is_const::value)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_function_v = is_function<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_FUNCTION) && !defined(_LIBCUDACXX_USE_IS_FUNCTION_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_fundamental.h b/libcudacxx/include/cuda/std/__type_traits/is_fundamental.h index 9fba2e288b..70e818e50f 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_fundamental.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_fundamental.h @@ -33,10 +33,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_fundamental : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_fundamental_v = _CCCL_BUILTIN_IS_FUNDAMENTAL(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_FUNDAMENTAL ^^^ / vvv !_CCCL_BUILTIN_IS_FUNDAMENTAL vvv @@ -45,10 +45,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_fundamental : public integral_constant::value || __is_nullptr_t<_Tp>::value || is_arithmetic<_Tp>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_fundamental_v = is_fundamental<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_FUNDAMENTAL diff --git a/libcudacxx/include/cuda/std/__type_traits/is_integral.h b/libcudacxx/include/cuda/std/__type_traits/is_integral.h index db869f1a5a..abe5b1cfea 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_integral.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_integral.h @@ -31,10 +31,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_integral : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_integral_v = _CCCL_BUILTIN_IS_INTEGRAL(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_INTEGRAL ^^^ / vvv !_CCCL_BUILTIN_IS_INTEGRAL vvv @@ -107,10 +107,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_integral : public integral_constant>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_integral_v = is_integral<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_INTEGRAL diff --git a/libcudacxx/include/cuda/std/__type_traits/is_literal_type.h b/libcudacxx/include/cuda/std/__type_traits/is_literal_type.h index fd415f123d..2b8c52055e 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_literal_type.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_literal_type.h @@ -33,10 +33,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT _LIBCUDACXX_DEPRECATED_IN_CXX17 is_literal_type : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_DEPRECATED_IN_CXX17 _CCCL_INLINE_VAR constexpr bool is_literal_type_v = __is_literal_type(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -47,10 +47,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT _LIBCUDACXX_DEPRECATED_IN_CXX17 is_literal_ || is_reference<__remove_all_extents_t<_Tp>>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_DEPRECATED_IN_CXX17 _CCCL_INLINE_VAR constexpr bool is_literal_type_v = is_literal_type<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_LITERAL) && !defined(_LIBCUDACXX_USE_IS_LITERAL_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_member_function_pointer.h b/libcudacxx/include/cuda/std/__type_traits/is_member_function_pointer.h index d7bc4f992d..8f4b4cb3b7 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_member_function_pointer.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_member_function_pointer.h @@ -55,10 +55,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_member_function_pointer : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_member_function_pointer_v = _CCCL_BUILTIN_IS_MEMBER_FUNCTION_POINTER(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_MEMBER_FUNCTION_POINTER ^^^ / vvv !_CCCL_BUILTIN_IS_MEMBER_FUNCTION_POINTER vvv @@ -67,10 +67,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_member_function_pointer : public integral_constant>::__is_func> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_member_function_pointer_v = is_member_function_pointer<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_MEMBER_FUNCTION_POINTER diff --git a/libcudacxx/include/cuda/std/__type_traits/is_member_object_pointer.h b/libcudacxx/include/cuda/std/__type_traits/is_member_object_pointer.h index 545c5af3cc..9b4cd0fede 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_member_object_pointer.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_member_object_pointer.h @@ -33,10 +33,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_member_object_pointer : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_member_object_pointer_v = _CCCL_BUILTIN_IS_MEMBER_OBJECT_POINTER(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_MEMBER_OBJECT_POINTER ^^^ / vvv !_CCCL_BUILTIN_IS_MEMBER_OBJECT_POINTER vvv @@ -45,10 +45,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_member_object_pointer : public integral_constant>::__is_obj> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_member_object_pointer_v = is_member_object_pointer<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_MEMBER_OBJECT_POINTER diff --git a/libcudacxx/include/cuda/std/__type_traits/is_member_pointer.h b/libcudacxx/include/cuda/std/__type_traits/is_member_pointer.h index e2632a63d1..638f4f0a05 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_member_pointer.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_member_pointer.h @@ -33,10 +33,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_member_pointer : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_member_pointer_v = _CCCL_BUILTIN_IS_MEMBER_POINTER(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_MEMBER_POINTER ^^^ / vvv !_CCCL_BUILTIN_IS_MEMBER_POINTER vvv @@ -45,10 +45,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_member_pointer : public integral_constant>::__is_member> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_member_pointer_v = is_member_pointer<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_MEMBER_POINTER diff --git a/libcudacxx/include/cuda/std/__type_traits/is_move_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_move_assignable.h index 534b46408a..bdba652862 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_move_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_move_assignable.h @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_move_assignable : public is_assignable<__add_lvalue_reference_t<_Tp>, __add_rvalue_reference_t<_Tp>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_move_assignable_v = is_move_assignable<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_move_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_move_constructible.h index ecd6c61630..92c17e9e84 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_move_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_move_constructible.h @@ -30,10 +30,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_move_constructible : public is_constructible<_Tp, __add_rvalue_reference_t<_Tp>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_move_constructible_v = is_move_constructible<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_assignable.h index d9674a32d2..3232e3eff2 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_assignable.h @@ -34,10 +34,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_assignable : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_assignable_v = _CCCL_BUILTIN_IS_NOTHROW_ASSIGNABLE(_Tp, _Arg); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #elif !defined(_LIBCUDACXX_HAS_NO_NOEXCEPT) && !defined(_LIBCUDACXX_HAS_NO_NOEXCEPT_SFINAE) @@ -58,10 +58,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_assignable : public __libcpp_is_nothrow_assignable::value, _Tp, _Arg> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_assignable_v = is_nothrow_assignable<_Tp, _Arg>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -117,10 +117,10 @@ struct is_nothrow_assignable<_Tp&, _Tp&&> # endif // _LIBCUDACXX_HAS_NO_RVALUE_REFERENCES -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_assignable_v = is_nothrow_assignable<_Tp, _Arg>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !defined(_LIBCUDACXX_HAS_NO_NOEXCEPT) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_constructible.h index 0a22250125..b225e46cbc 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_constructible.h @@ -34,10 +34,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_constructible : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_constructible_v = _CCCL_BUILTIN_IS_NOTHROW_CONSTRUCTIBLE(_Tp, _Args...); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -123,10 +123,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_constructible<_Tp, _Tp&> # endif // !defined(_LIBCUDACXX_HAS_NO_NOEXCEPT) -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_constructible_v = is_nothrow_constructible<_Tp, _Args...>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_NOTHROW_CONSTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_NOTHROW_CONSTRUCTIBLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_assignable.h index 74af27aca6..32dd121182 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_assignable.h @@ -35,11 +35,11 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_copy_assignable __add_lvalue_reference_t<_Tp>, __add_lvalue_reference_t::type>)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_copy_assignable_v = _CCCL_BUILTIN_IS_NOTHROW_ASSIGNABLE( __add_lvalue_reference_t<_Tp>, __add_lvalue_reference_t::type>); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -48,10 +48,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_copy_assignable : public is_nothrow_assignable<__add_lvalue_reference_t<_Tp>, __add_lvalue_reference_t::type>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_copy_assignable_v = is_nothrow_copy_assignable<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_constructible.h index 582ccf6a3f..c2ba28fc72 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_copy_constructible.h @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_copy_constructible : public is_nothrow_constructible<_Tp, __add_lvalue_reference_t::type>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_copy_constructible_v = is_nothrow_copy_constructible<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_default_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_default_constructible.h index f3be1e247a..6cb7d21bc1 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_default_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_default_constructible.h @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_default_constructible : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_default_constructible_v = _CCCL_BUILTIN_IS_NOTHROW_CONSTRUCTIBLE(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -42,10 +42,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_default_constructible : public is_nothrow_constructible<_Tp> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_default_constructible_v = is_nothrow_constructible<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_NOTHROW_CONSTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_NOTHROW_CONSTRUCTIBLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_destructible.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_destructible.h index c1e34d89e7..5e29cecde7 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_destructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_destructible.h @@ -82,10 +82,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_destructible<_Tp[]> : public fal #endif // defined(_CCCL_BUILTIN_IS_NOTHROW_DESTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_NOTHROW_DESTRUCTIBLE_FALLBACK) -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_destructible_v = is_nothrow_destructible<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_assignable.h index dd3fe84c33..e749af4565 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_assignable.h @@ -35,11 +35,11 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_move_assignable _CCCL_BUILTIN_IS_NOTHROW_ASSIGNABLE(__add_lvalue_reference_t<_Tp>, __add_rvalue_reference_t<_Tp>)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_move_assignable_v = _CCCL_BUILTIN_IS_NOTHROW_ASSIGNABLE(__add_lvalue_reference_t<_Tp>, __add_rvalue_reference_t<_Tp>); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -48,10 +48,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_move_assignable : public is_nothrow_assignable<__add_lvalue_reference_t<_Tp>, __add_rvalue_reference_t<_Tp>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_move_assignable_v = is_nothrow_move_assignable<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif diff --git a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_constructible.h index e17d54c5ef..11265e4e49 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_nothrow_move_constructible.h @@ -30,10 +30,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_nothrow_move_constructible : public is_nothrow_constructible<_Tp, __add_rvalue_reference_t<_Tp>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_nothrow_move_constructible_v = is_nothrow_move_constructible<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_null_pointer.h b/libcudacxx/include/cuda/std/__type_traits/is_null_pointer.h index 086adbb84a..e87f3992cc 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_null_pointer.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_null_pointer.h @@ -41,10 +41,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_null_pointer : public __is_nullptr_t_impl<__remove_cv_t<_Tp>> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_null_pointer_v = is_null_pointer<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_object.h b/libcudacxx/include/cuda/std/__type_traits/is_object.h index 0c2c8e2e59..1ffcd14fae 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_object.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_object.h @@ -34,10 +34,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_object : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_object_v = _CCCL_BUILTIN_IS_OBJECT(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -48,10 +48,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_object || is_class<_Tp>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_object_v = is_object<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_OBJECT) && !defined(_LIBCUDACXX_USE_IS_OBJECT_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_pod.h b/libcudacxx/include/cuda/std/__type_traits/is_pod.h index 8237a42a87..0e14155d37 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_pod.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_pod.h @@ -35,10 +35,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_pod : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_pod_v = _CCCL_BUILTIN_IS_POD(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -50,10 +50,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_pod && is_trivially_copy_assignable<_Tp>::value && is_trivially_destructible<_Tp>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_pod_v = is_pod<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_POD) && !defined(_LIBCUDACXX_USE_IS_POD_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_pointer.h b/libcudacxx/include/cuda/std/__type_traits/is_pointer.h index 0b0c46e46d..b897dca008 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_pointer.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_pointer.h @@ -31,10 +31,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_pointer : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_pointer_v = _CCCL_BUILTIN_IS_POINTER(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -49,10 +49,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_pointer : public __libcpp_is_pointer<__remove_cv_t<_Tp>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_pointer_v = is_pointer<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_POINTER) && !defined(_LIBCUDACXX_USE_IS_POINTER_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_polymorphic.h b/libcudacxx/include/cuda/std/__type_traits/is_polymorphic.h index 2581f782e8..b0fc8b037b 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_polymorphic.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_polymorphic.h @@ -33,10 +33,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_polymorphic : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_polymorphic_v = _CCCL_BUILTIN_IS_POLYMORPHIC(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -51,10 +51,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_polymorphic : public integral_constant(0)) == 1> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_polymorphic_v = is_polymorphic<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_POLYMORPHIC) && !defined(_LIBCUDACXX_USE_IS_POLYMORPHIC_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_reference.h b/libcudacxx/include/cuda/std/__type_traits/is_reference.h index afb768f86b..ab7d401eb3 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_reference.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_reference.h @@ -42,14 +42,14 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_reference : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_lvalue_reference_v = _CCCL_BUILTIN_IS_LVALUE_REFERENCE(_Tp); template _CCCL_INLINE_VAR constexpr bool is_rvalue_reference_v = _CCCL_BUILTIN_IS_RVALUE_REFERENCE(_Tp); template _CCCL_INLINE_VAR constexpr bool is_reference_v = _CCCL_BUILTIN_IS_REFERENCE(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -77,7 +77,7 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_reference<_Tp&&> : public true_type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_lvalue_reference_v = is_lvalue_reference<_Tp>::value; @@ -86,7 +86,7 @@ _CCCL_INLINE_VAR constexpr bool is_rvalue_reference_v = is_rvalue_reference<_Tp> template _CCCL_INLINE_VAR constexpr bool is_reference_v = is_reference<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_LVALUE_REFERENCE diff --git a/libcudacxx/include/cuda/std/__type_traits/is_same.h b/libcudacxx/include/cuda/std/__type_traits/is_same.h index e89615391d..47dc4195b8 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_same.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_same.h @@ -30,10 +30,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_same : bool_constant<_CCCL_BUILTIN_IS_SAME(_Tp, _Up)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_same_v = _CCCL_BUILTIN_IS_SAME(_Tp, _Up); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES // _IsSame has the same effect as is_same but instantiates fewer types: // is_same and is_same are guaranteed to be different types, but @@ -57,10 +57,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_same<_Tp, _Tp> : public true_type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_same_v = is_same<_Tp, _Up>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES // _IsSame has the same effect as is_same but instantiates fewer types: // is_same and is_same are guaranteed to be different types, but diff --git a/libcudacxx/include/cuda/std/__type_traits/is_scalar.h b/libcudacxx/include/cuda/std/__type_traits/is_scalar.h index 3188757093..423b9daa51 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_scalar.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_scalar.h @@ -36,10 +36,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_scalar : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_scalar_v = _CCCL_BUILTIN_IS_SCALAR(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -63,10 +63,10 @@ template <> struct _CCCL_TYPE_VISIBILITY_DEFAULT is_scalar : public true_type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_scalar_v = is_scalar<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_SCALAR) && !defined(_LIBCUDACXX_USE_IS_SCALAR_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_signed.h b/libcudacxx/include/cuda/std/__type_traits/is_signed.h index c65c9449b8..33e5c1eb5c 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_signed.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_signed.h @@ -34,10 +34,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_signed : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_signed_v = _CCCL_BUILTIN_IS_SIGNED(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -61,10 +61,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_signed : public __libcpp_is_signed<_Tp> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_signed_v = is_signed<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_SIGNED) && !defined(_LIBCUDACXX_USE_IS_SIGNED_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_standard_layout.h b/libcudacxx/include/cuda/std/__type_traits/is_standard_layout.h index 40e95e6407..7afa84c5eb 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_standard_layout.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_standard_layout.h @@ -33,10 +33,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_standard_layout : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_standard_layout_v = _CCCL_BUILTIN_IS_STANDARD_LAYOUT(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -45,10 +45,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_standard_layout : integral_constant>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_standard_layout_v = is_standard_layout<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_STANDARD_LAYOUT) && !defined(_LIBCUDACXX_USE_IS_STANDARD_LAYOUT_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivial.h b/libcudacxx/include/cuda/std/__type_traits/is_trivial.h index 935499b401..36b58219a6 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivial.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivial.h @@ -32,10 +32,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivial : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivial_v = _CCCL_BUILTIN_IS_TRIVIAL(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -44,10 +44,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivial : public integral_constant::value && is_trivially_default_constructible<_Tp>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivial_v = is_trivial<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIAL) && !defined(_LIBCUDACXX_USE_IS_TRIVIAL_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_assignable.h index 14e8c9918a..bdf3f98603 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_assignable.h @@ -31,10 +31,10 @@ template struct is_trivially_assignable : integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_assignable_v = _CCCL_BUILTIN_IS_TRIVIALLY_ASSIGNABLE(_Tp, _Arg); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -58,10 +58,10 @@ template struct is_trivially_assignable<_Tp&, _Tp&&> : integral_constant::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_assignable_v = is_trivially_assignable<_Tp, _Arg>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_ASSIGNABLE) && !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_ASSIGNABLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_constructible.h index 0c80518662..be3e3cea8d 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_constructible.h @@ -32,10 +32,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_constructible : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_constructible_v = _CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE(_Tp, _Args...); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -69,10 +69,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_constructible<_Tp, _Tp&> : integral_constant::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_constructible_v = is_trivially_constructible<_Tp, _Args...>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE) && // !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_CONSTRUCTIBLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_assignable.h index 81eb582841..e200323e3b 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_assignable.h @@ -35,11 +35,11 @@ struct is_trivially_copy_assignable __add_lvalue_reference_t<_Tp>, __add_lvalue_reference_t::type>)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_copy_assignable_v = _CCCL_BUILTIN_IS_TRIVIALLY_ASSIGNABLE( __add_lvalue_reference_t<_Tp>, __add_lvalue_reference_t::type>); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -49,10 +49,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_copy_assignable __add_lvalue_reference_t::type>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_copy_assignable_v = is_trivially_copy_assignable<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_ASSIGNABLE) && !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_ASSIGNABLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_constructible.h index 5868883753..31b2188bc1 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_copy_constructible.h @@ -35,11 +35,11 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_copy_constructible _CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE(_Tp, __add_lvalue_reference_t::type>)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_copy_constructible_v = _CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE(_Tp, __add_lvalue_reference_t::type>); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -48,10 +48,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_copy_constructible : public is_trivially_constructible<_Tp, __add_lvalue_reference_t::type>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_copy_constructible_v = is_trivially_copy_constructible<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE) && // !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_CONSTRUCTIBLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_copyable.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_copyable.h index efea723452..cd4a8841b7 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_copyable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_copyable.h @@ -33,10 +33,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_copyable : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_copyable_v = _CCCL_BUILTIN_IS_TRIVIALLY_COPYABLE(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -45,10 +45,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_copyable : integral_constant>::value> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_copyable_v = is_trivially_copyable<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_COPYABLE) && !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_COPYABLE_FALLBACK) _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_default_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_default_constructible.h index d17dedaeb8..7a618e3cd4 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_default_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_default_constructible.h @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_default_constructible : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_default_constructible_v = _CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -42,10 +42,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_default_constructible : public is_trivially_constructible<_Tp> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_default_constructible_v = is_trivially_default_constructible<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE) && // !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_CONSTRUCTIBLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_destructible.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_destructible.h index 4c9dabc820..5416b283f3 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_destructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_destructible.h @@ -61,10 +61,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_destructible<_Tp[]> : public f #endif // defined(_CCCL_BUILTIN_HAS_TRIVIAL_DESTRUCTOR) && !defined(_LIBCUDACXX_USE_HAS_TRIVIAL_DESTRUCTOR_FALLBACK) -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_destructible_v = is_trivially_destructible<_Tp>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_assignable.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_assignable.h index fa970ff00f..8ab72bfa18 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_assignable.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_assignable.h @@ -35,11 +35,11 @@ struct is_trivially_move_assignable _CCCL_BUILTIN_IS_TRIVIALLY_ASSIGNABLE(__add_lvalue_reference_t<_Tp>, __add_rvalue_reference_t<_Tp>)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_move_assignable_v = _CCCL_BUILTIN_IS_TRIVIALLY_ASSIGNABLE(__add_lvalue_reference_t<_Tp>, __add_rvalue_reference_t<_Tp>); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -48,10 +48,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_move_assignable : public is_trivially_assignable<__add_lvalue_reference_t<_Tp>, __add_rvalue_reference_t<_Tp>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_move_assignable_v = is_trivially_move_assignable<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_ASSIGNABLE) && !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_ASSIGNABLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_constructible.h b/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_constructible.h index 840c6541f6..9914465e06 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_constructible.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_trivially_move_constructible.h @@ -32,11 +32,11 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_move_constructible : public integral_constant)> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_move_constructible_v = _CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE(_Tp, __add_rvalue_reference_t<_Tp>); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -45,10 +45,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_trivially_move_constructible : public is_trivially_constructible<_Tp, __add_rvalue_reference_t<_Tp>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_trivially_move_constructible_v = is_trivially_move_constructible<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_TRIVIALLY_CONSTRUCTIBLE) && // !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_CONSTRUCTIBLE_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_union.h b/libcudacxx/include/cuda/std/__type_traits/is_union.h index 77d8f09967..b6a68eb8b0 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_union.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_union.h @@ -31,10 +31,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_union : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_union_v = _CCCL_BUILTIN_IS_UNION(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -45,10 +45,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_union : public __libcpp_union<__remove_cv_t<_Tp>> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_union_v = is_union<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_UNION) && !defined(_LIBCUDACXX_USE_IS_UNION_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_unsigned.h b/libcudacxx/include/cuda/std/__type_traits/is_unsigned.h index c8cc245297..abd951c720 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_unsigned.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_unsigned.h @@ -37,10 +37,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_unsigned : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_unsigned_v = _CCCL_BUILTIN_IS_UNSIGNED(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -64,10 +64,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_unsigned : public __libcpp_is_unsigned<_Tp> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_unsigned_v = is_unsigned<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_UNSIGNED) && !defined(_LIBCUDACXX_USE_IS_UNSIGNED_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_void.h b/libcudacxx/include/cuda/std/__type_traits/is_void.h index 01fe5d01fc..ca5de1f624 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_void.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_void.h @@ -32,10 +32,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_void : integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_void_v = __is_void(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -43,10 +43,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_void : public is_same<__remove_cv_t<_Tp>, void> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_void_v = is_void<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_IS_VOID) && !defined(_LIBCUDACXX_USE_IS_VOID_FALLBACK) diff --git a/libcudacxx/include/cuda/std/__type_traits/is_volatile.h b/libcudacxx/include/cuda/std/__type_traits/is_volatile.h index ffa59313d5..34b3262f9b 100644 --- a/libcudacxx/include/cuda/std/__type_traits/is_volatile.h +++ b/libcudacxx/include/cuda/std/__type_traits/is_volatile.h @@ -30,10 +30,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_volatile : : public integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_volatile_v = _CCCL_BUILTIN_IS_VOLATILE(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else // ^^^ _CCCL_BUILTIN_IS_VOLATILE ^^^ / vvv !_CCCL_BUILTIN_IS_VOLATILE vvv @@ -44,10 +44,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT is_volatile<_Tp volatile> : public true_type {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool is_volatile_v = is_volatile<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // !_CCCL_BUILTIN_IS_VOLATILE diff --git a/libcudacxx/include/cuda/std/__type_traits/rank.h b/libcudacxx/include/cuda/std/__type_traits/rank.h index 2d950bd99b..cc31a54c35 100644 --- a/libcudacxx/include/cuda/std/__type_traits/rank.h +++ b/libcudacxx/include/cuda/std/__type_traits/rank.h @@ -31,10 +31,10 @@ template struct rank : integral_constant {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr size_t rank_v = _CCCL_BUILTIN_ARRAY_RANK(_Tp); -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #else @@ -48,10 +48,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT rank<_Tp[_Np]> : public integral_constant::value + 1> {}; -# if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +# if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr size_t rank_v = rank<_Tp>::value; -# endif // !_CCCL_NO_VARIABLE_TEMPALTES +# endif // !_CCCL_NO_VARIABLE_TEMPLATES #endif // defined(_CCCL_BUILTIN_ARRAY_RANK) && !defined(_LIBCUDACXX_USE_ARRAY_RANK_FALLBACK) diff --git a/libcudacxx/include/cuda/std/detail/libcxx/include/chrono b/libcudacxx/include/cuda/std/detail/libcxx/include/chrono index 6d5a378f7d..f9f8828ad6 100644 --- a/libcudacxx/include/cuda/std/detail/libcxx/include/chrono +++ b/libcudacxx/include/cuda/std/detail/libcxx/include/chrono @@ -976,10 +976,10 @@ template struct _CCCL_TYPE_VISIBILITY_DEFAULT treat_as_floating_point : is_floating_point<_Rep> {}; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool treat_as_floating_point_v = treat_as_floating_point<_Rep>::value; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES template struct _CCCL_TYPE_VISIBILITY_DEFAULT duration_values diff --git a/libcudacxx/include/cuda/std/detail/libcxx/include/ratio b/libcudacxx/include/cuda/std/detail/libcxx/include/ratio index f9622a3e20..172442a570 100644 --- a/libcudacxx/include/cuda/std/detail/libcxx/include/ratio +++ b/libcudacxx/include/cuda/std/detail/libcxx/include/ratio @@ -459,7 +459,7 @@ struct __ratio_gcd typedef ratio<__static_gcd<_R1::num, _R2::num>::value, __static_lcm<_R1::den, _R2::den>::value> type; }; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) template _CCCL_INLINE_VAR constexpr bool ratio_equal_v = ratio_equal<_R1, _R2>::value; @@ -477,7 +477,7 @@ _CCCL_INLINE_VAR constexpr bool ratio_greater_v = ratio_greater<_R1, _R2>::value template _CCCL_INLINE_VAR constexpr bool ratio_greater_equal_v = ratio_greater_equal<_R1, _R2>::value; -#endif // _CCCL_NO_VARIABLE_TEMPALTES +#endif // _CCCL_NO_VARIABLE_TEMPLATES _LIBCUDACXX_END_NAMESPACE_STD diff --git a/thrust/thrust/type_traits/logical_metafunctions.h b/thrust/thrust/type_traits/logical_metafunctions.h index 59893b8b17..94e19e9ee6 100644 --- a/thrust/thrust/type_traits/logical_metafunctions.h +++ b/thrust/thrust/type_traits/logical_metafunctions.h @@ -40,11 +40,11 @@ THRUST_NAMESPACE_BEGIN using ::cuda::std::conjunction; using ::cuda::std::disjunction; using ::cuda::std::negation; -#if !defined(_CCCL_NO_VARIABLE_TEMPALTES) +#if !defined(_CCCL_NO_VARIABLE_TEMPLATES) using ::cuda::std::conjunction_v; using ::cuda::std::disjunction_v; using ::cuda::std::negation_v; -#endif // !_CCCL_NO_VARIABLE_TEMPALTES +#endif // !_CCCL_NO_VARIABLE_TEMPLATES //! \brief std::integral_constant //! whose value is (... && Bs).