Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix misspelling in the _CCCL_NO_VARIABLE_TEMPLATES macro #2584

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libcudacxx/include/cuda/std/__cccl/dialect.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions libcudacxx/include/cuda/std/__type_traits/alignment_of.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT alignment_of : public integral_constant<size_t, _LIBCUDACXX_ALIGNOF(_Tp)>
{};

#if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand Down
4 changes: 2 additions & 2 deletions libcudacxx/include/cuda/std/__type_traits/conjunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ template <class _Arg, class... _Args>
struct conjunction<_Arg, _Args...> : _If<!bool(_Arg::value), _Arg, conjunction<_Args...>>
{};

#if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class... _Args>
_CCCL_INLINE_VAR constexpr bool conjunction_v = conjunction<_Args...>::value;
#endif // !_CCCL_NO_VARIABLE_TEMPALTES
#endif // !_CCCL_NO_VARIABLE_TEMPLATES

_LIBCUDACXX_END_NAMESPACE_STD

Expand Down
4 changes: 2 additions & 2 deletions libcudacxx/include/cuda/std/__type_traits/disjunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ struct disjunction : _Or<_Args...>
{};
#endif // !MSVC

#if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class... _Args>
_CCCL_INLINE_VAR constexpr bool disjunction_v = _Or<_Args...>::value;
#endif // !_CCCL_NO_VARIABLE_TEMPALTES
#endif // !_CCCL_NO_VARIABLE_TEMPLATES

_LIBCUDACXX_END_NAMESPACE_STD

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/extent.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ template <class _Tp, size_t _Dim = 0>
struct _CCCL_TYPE_VISIBILITY_DEFAULT extent : integral_constant<size_t, _CCCL_BUILTIN_ARRAY_EXTENT(_Tp, _Dim)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp, unsigned _Ip = 0>
_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

Expand All @@ -56,10 +56,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT extent<_Tp[_Np], _Ip>
: public integral_constant<size_t, extent<_Tp, _Ip - 1>::value>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp, unsigned _Ip = 0>
_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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT has_unique_object_representations
: public integral_constant<bool, __has_unique_object_representations(remove_cv_t<remove_all_extents_t<_Tp>>)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <class _Tp>
_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

Expand Down
4 changes: 2 additions & 2 deletions libcudacxx/include/cuda/std/__type_traits/is_abstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_abstract : public integral_constant<bool, __is_abstract(_Tp)>
{};

#if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand Down
4 changes: 2 additions & 2 deletions libcudacxx/include/cuda/std/__type_traits/is_aggregate.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_aggregate : public integral_constant<bool, _CCCL_BUILTIN_IS_AGGREGATE(_Tp)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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)

Expand Down
4 changes: 2 additions & 2 deletions libcudacxx/include/cuda/std/__type_traits/is_arithmetic.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_arithmetic
: public integral_constant<bool, is_integral<_Tp>::value || is_floating_point<_Tp>::value>
{};

#if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/is_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_array : public integral_constant<bool, _CCCL_BUILTIN_IS_ARRAY(_Tp)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_CCCL_INLINE_VAR constexpr bool is_array_v = _CCCL_BUILTIN_IS_ARRAY(_Tp);
# endif // !_CCCL_NO_VARIABLE_TEMPALTES
# endif // !_CCCL_NO_VARIABLE_TEMPLATES

#else

Expand All @@ -50,10 +50,10 @@ template <class _Tp, size_t _Np>
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 <class _Tp>
_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)

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/is_assignable.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_assignable
: public integral_constant<bool, _CCCL_BUILTIN_IS_ASSIGNABLE(_T1, _T2)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _T1, class _T2>
_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

Expand All @@ -66,10 +66,10 @@ template <class _Tp, class _Arg>
struct is_assignable : public __is_assignable_imp<_Tp, _Arg>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp, class _Arg>
_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)

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/is_base_of.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ template <class _Bp, class _Dp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_base_of : public integral_constant<bool, _CCCL_BUILTIN_IS_BASE_OF(_Bp, _Dp)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Bp, class _Dp>
_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)

Expand Down Expand Up @@ -71,10 +71,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_base_of
: public integral_constant<bool, is_class<_Bp>::value && sizeof(__is_base_of_imp::__test<_Bp, _Dp>(0)) == 2>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Bp, class _Dp>
_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)

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/is_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_class : public integral_constant<bool, _CCCL_BUILTIN_IS_CLASS(_Tp)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_CCCL_INLINE_VAR constexpr bool is_class_v = _CCCL_BUILTIN_IS_CLASS(_Tp);
# endif // !_CCCL_NO_VARIABLE_TEMPALTES
# endif // !_CCCL_NO_VARIABLE_TEMPLATES

#else

Expand All @@ -56,10 +56,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_class
: public integral_constant<bool, sizeof(__is_class_imp::__test<_Tp>(0)) == 1 && !is_union<_Tp>::value>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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)

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/is_compound.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_compound : public integral_constant<bool, _CCCL_BUILTIN_IS_COMPOUND(_Tp)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_compound : public integral_constant<bool, !is_fundamental<_Tp>::value>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/is_const.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ template <class _Tp>
struct _CCCL_TYPE_VISIBILITY_DEFAULT is_const : public integral_constant<bool, _CCCL_BUILTIN_IS_CONST(_Tp)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand All @@ -44,10 +44,10 @@ template <class _Tp>
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 <class _Tp>
_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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,20 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_constructible
: public integral_constant<bool, _CCCL_BUILTIN_IS_CONSTRUCTIBLE(_Tp, _Args...)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp, class... _Args>
_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 <class _Tp, class... _Args>
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 <class _Tp, class... _Args>
_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)

Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/__type_traits/is_convertible.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_convertible
: public integral_constant<bool, _CCCL_BUILTIN_IS_CONVERTIBLE_TO(_T1, _T2)>
{};

# if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
# if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _T1, class _T2>
_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 <class _Ty>
Expand Down Expand Up @@ -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 <class _From, class _To>
_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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_copy_assignable
: public is_assignable<__add_lvalue_reference_t<_Tp>, __add_lvalue_reference_t<typename add_const<_Tp>::type>>
{};

#if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT is_copy_constructible
: public is_constructible<_Tp, __add_lvalue_reference_t<typename add_const<_Tp>::type>>
{};

#if !defined(_CCCL_NO_VARIABLE_TEMPALTES)
#if !defined(_CCCL_NO_VARIABLE_TEMPLATES)
template <class _Tp>
_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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ template <class _Tp>
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 <class _Tp>
_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

Expand Down
Loading
Loading