diff --git a/.upstream-tests/test/std/language.support/support.types/byte.pass.cpp b/.upstream-tests/test/std/language.support/support.types/byte.pass.cpp index ed4103950b..5f5e245528 100644 --- a/.upstream-tests/test/std/language.support/support.types/byte.pass.cpp +++ b/.upstream-tests/test/std/language.support/support.types/byte.pass.cpp @@ -10,7 +10,7 @@ #include #include "test_macros.h" -// XFAIL: c++98, c++03, c++11, c++14 +// XFAIL: c++98, c++03, c++11 // If we're just building the test and not executing it, it should pass. // UNSUPPORTED: no_execute @@ -18,7 +18,7 @@ // cuda::std::byte is not an integer type, nor a character type. // It is a distinct type for accessing the bits that ultimately make up object storage. -#if TEST_STD_VER > 17 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivial::value, "" ); // P0767 #else static_assert( cuda::std::is_pod::value, "" ); diff --git a/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp index 39fdb17979..b0e0c645c8 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11 // diff --git a/.upstream-tests/test/std/utilities/meta/meta.help/bool_constant.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.help/bool_constant.pass.cpp index 9beee630f7..3a704fc60c 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.help/bool_constant.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.help/bool_constant.pass.cpp @@ -17,7 +17,7 @@ int main(int, char**) { -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 typedef cuda::std::bool_constant _t; static_assert(_t::value, ""); static_assert((cuda::std::is_same<_t::value_type, bool>::value), ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.logical/conjunction.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.logical/conjunction.pass.cpp index 88e726d6a1..ac8f553c20 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.logical/conjunction.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.logical/conjunction.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits // template struct conjunction; // C++17 diff --git a/.upstream-tests/test/std/utilities/meta/meta.logical/disjunction.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.logical/disjunction.pass.cpp index 9f449627b9..e8c8c9337c 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.logical/disjunction.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.logical/disjunction.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits // template struct disjunction; // C++17 diff --git a/.upstream-tests/test/std/utilities/meta/meta.logical/negation.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.logical/negation.pass.cpp index e0faeb84f4..499c4fe35b 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.logical/negation.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.logical/negation.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits // template struct negation; // C++17 diff --git a/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp index 0419e40388..a28da1e418 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of.pass.cpp @@ -22,7 +22,7 @@ void test_is_base_of() static_assert((cuda::std::is_base_of::value), ""); static_assert((cuda::std::is_base_of::value), ""); static_assert((cuda::std::is_base_of::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((cuda::std::is_base_of_v), ""); static_assert((cuda::std::is_base_of_v), ""); static_assert((cuda::std::is_base_of_v), ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp index 9ff18a0a1d..48f45cb315 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp @@ -31,7 +31,7 @@ void test_is_base_of() static_assert((cuda::std::is_base_of::value), ""); static_assert((cuda::std::is_base_of::value), ""); static_assert((cuda::std::is_base_of::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((cuda::std::is_base_of_v), ""); static_assert((cuda::std::is_base_of_v), ""); static_assert((cuda::std::is_base_of_v), ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible.pass.cpp index ddd0d953ed..e90d52d96c 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.rel/is_convertible.pass.cpp @@ -21,7 +21,7 @@ void test_is_convertible() static_assert((cuda::std::is_convertible::value), ""); static_assert((cuda::std::is_convertible::value), ""); static_assert((cuda::std::is_convertible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((cuda::std::is_convertible_v), ""); static_assert((cuda::std::is_convertible_v), ""); static_assert((cuda::std::is_convertible_v), ""); @@ -37,7 +37,7 @@ void test_is_not_convertible() static_assert((!cuda::std::is_convertible::value), ""); static_assert((!cuda::std::is_convertible::value), ""); static_assert((!cuda::std::is_convertible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_convertible_v), ""); static_assert((!cuda::std::is_convertible_v), ""); static_assert((!cuda::std::is_convertible_v), ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.rel/is_invocable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.rel/is_invocable.pass.cpp index 12e1988f1a..9407deddda 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.rel/is_invocable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.rel/is_invocable.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // XFAIL: nvcc // FIXME: Triage and fix this. diff --git a/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp index 5abdfc7d7b..28067ca5ec 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_convertible.pass.cpp @@ -8,7 +8,7 @@ // // -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11 #include diff --git a/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp index f92aba60a1..6f486296c0 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // XFAIL: nvcc // FIXME: Triage and fix this. diff --git a/.upstream-tests/test/std/utilities/meta/meta.rel/is_same.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.rel/is_same.pass.cpp index 5c490fd383..728170c923 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.rel/is_same.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.rel/is_same.pass.cpp @@ -22,7 +22,7 @@ void test_is_same() static_assert((!cuda::std::is_same::value), ""); static_assert((!cuda::std::is_same::value), ""); static_assert(( cuda::std::is_same::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_same_v), ""); static_assert((!cuda::std::is_same_v), ""); static_assert((!cuda::std::is_same_v), ""); @@ -38,7 +38,7 @@ void test_is_same_ref() static_assert((cuda::std::is_same::value), ""); static_assert((cuda::std::is_same::value), ""); static_assert((cuda::std::is_same::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((cuda::std::is_same_v), ""); static_assert((cuda::std::is_same_v), ""); static_assert((cuda::std::is_same_v), ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp index cf81e5e1e2..3d2d2e6c11 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/remove_cvref.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits @@ -17,6 +17,7 @@ #include "test_macros.h" template +__host__ __device__ void test_remove_cvref() { ASSERT_SAME_TYPE(U, typename cuda::std::remove_cvref::type); diff --git a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp index 10a0849103..11b6171524 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp @@ -46,7 +46,7 @@ struct HasType : cuda::std::false_type {}; template struct HasType::type> : cuda::std::true_type {}; -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 template struct test_invoke_result; @@ -68,12 +68,12 @@ __host__ __device__ void test_result_of() { ASSERT_SAME_TYPE(U, typename cuda::std::result_of::type); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 test_invoke_result::call(); #endif } -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 template struct test_invoke_no_result; @@ -96,7 +96,7 @@ void test_no_result() #if TEST_STD_VER >= 11 static_assert((!HasType >::value), ""); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 test_invoke_no_result::call(); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp index 1bf16d05b4..a971f8565d 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp @@ -31,7 +31,7 @@ struct wat struct F {}; struct FD : public F {}; -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 template struct test_invoke_result; @@ -57,7 +57,7 @@ void test_result_of_imp() #if TEST_STD_VER > 11 ASSERT_SAME_TYPE(U, cuda::std::result_of_t); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 test_invoke_result::call(); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp index 2024bf07b6..14baa02aa4 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.trans/meta.trans.other/type_identity.pass.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits @@ -16,6 +16,7 @@ #include "test_macros.h" template +__host__ __device__ void test_type_identity() { ASSERT_SAME_TYPE(T, typename cuda::std::type_identity::type); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp index 231cbccc19..c27b9597e8 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp @@ -26,7 +26,7 @@ void test_alignment_of() static_assert( cuda::std::alignment_of::value == A, ""); static_assert( cuda::std::alignment_of::value == A, ""); static_assert( cuda::std::alignment_of::value == A, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::alignment_of_v == A, ""); static_assert( cuda::std::alignment_of_v == A, ""); static_assert( cuda::std::alignment_of_v == A, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp index dfcde2a267..fd69f9d651 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/extent.pass.cpp @@ -22,7 +22,7 @@ void test_extent() static_assert((cuda::std::extent::value == A), ""); static_assert((cuda::std::extent::value == A), ""); static_assert((cuda::std::extent::value == A), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((cuda::std::extent_v == A), ""); static_assert((cuda::std::extent_v == A), ""); static_assert((cuda::std::extent_v == A), ""); @@ -38,7 +38,7 @@ void test_extent1() static_assert((cuda::std::extent::value == A), ""); static_assert((cuda::std::extent::value == A), ""); static_assert((cuda::std::extent::value == A), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((cuda::std::extent_v == A), ""); static_assert((cuda::std::extent_v == A), ""); static_assert((cuda::std::extent_v == A), ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp index 995df9e4a1..0531d367ba 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/rank.pass.cpp @@ -22,7 +22,7 @@ void test_rank() static_assert( cuda::std::rank::value == A, ""); static_assert( cuda::std::rank::value == A, ""); static_assert( cuda::std::rank::value == A, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::rank_v == A, ""); static_assert( cuda::std::rank_v == A, ""); static_assert( cuda::std::rank_v == A, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp index 2eb9f634c8..ba15bbcc6d 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary.prop.query/void_t.pass.cpp @@ -10,7 +10,7 @@ // void_t -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // XFAIL: gcc-5.1, gcc-5.2 diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp index b252ac755f..3a1be0461e 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_array.pass.cpp @@ -22,7 +22,7 @@ void test_is_array() static_assert( cuda::std::is_array::value, ""); static_assert( cuda::std::is_array::value, ""); static_assert( cuda::std::is_array::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_array_v, ""); static_assert( cuda::std::is_array_v, ""); static_assert( cuda::std::is_array_v, ""); @@ -38,7 +38,7 @@ void test_is_not_array() static_assert(!cuda::std::is_array::value, ""); static_assert(!cuda::std::is_array::value, ""); static_assert(!cuda::std::is_array::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_array_v, ""); static_assert(!cuda::std::is_array_v, ""); static_assert(!cuda::std::is_array_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp index 79a00a9074..7d287631aa 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_class.pass.cpp @@ -22,7 +22,7 @@ void test_is_class() static_assert( cuda::std::is_class::value, ""); static_assert( cuda::std::is_class::value, ""); static_assert( cuda::std::is_class::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_class_v, ""); static_assert( cuda::std::is_class_v, ""); static_assert( cuda::std::is_class_v, ""); @@ -38,7 +38,7 @@ void test_is_not_class() static_assert(!cuda::std::is_class::value, ""); static_assert(!cuda::std::is_class::value, ""); static_assert(!cuda::std::is_class::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_class_v, ""); static_assert(!cuda::std::is_class_v, ""); static_assert(!cuda::std::is_class_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp index a6578e881b..406dbc89ae 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_enum.pass.cpp @@ -22,7 +22,7 @@ void test_is_enum() static_assert( cuda::std::is_enum::value, ""); static_assert( cuda::std::is_enum::value, ""); static_assert( cuda::std::is_enum::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_enum_v, ""); static_assert( cuda::std::is_enum_v, ""); static_assert( cuda::std::is_enum_v, ""); @@ -38,7 +38,7 @@ void test_is_not_enum() static_assert(!cuda::std::is_enum::value, ""); static_assert(!cuda::std::is_enum::value, ""); static_assert(!cuda::std::is_enum::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_enum_v, ""); static_assert(!cuda::std::is_enum_v, ""); static_assert(!cuda::std::is_enum_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp index 4af892f16c..71e28265f1 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_floating_point.pass.cpp @@ -24,7 +24,7 @@ void test_is_floating_point() static_assert( cuda::std::is_floating_point::value, ""); static_assert( cuda::std::is_floating_point::value, ""); static_assert( cuda::std::is_floating_point::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_floating_point_v, ""); static_assert( cuda::std::is_floating_point_v, ""); static_assert( cuda::std::is_floating_point_v, ""); @@ -40,7 +40,7 @@ void test_is_not_floating_point() static_assert(!cuda::std::is_floating_point::value, ""); static_assert(!cuda::std::is_floating_point::value, ""); static_assert(!cuda::std::is_floating_point::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_floating_point_v, ""); static_assert(!cuda::std::is_floating_point_v, ""); static_assert(!cuda::std::is_floating_point_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp index 16aabce0f0..372eca5e79 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_function.pass.cpp @@ -26,7 +26,7 @@ struct test_is_function { static_assert( cuda::std::is_function::value, ""); static_assert( cuda::std::is_function::value, ""); static_assert( cuda::std::is_function::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_function_v, ""); static_assert( cuda::std::is_function_v, ""); static_assert( cuda::std::is_function_v, ""); @@ -40,7 +40,7 @@ struct test_is_not_function { static_assert(!cuda::std::is_function::value, ""); static_assert(!cuda::std::is_function::value, ""); static_assert(!cuda::std::is_function::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_function_v, ""); static_assert(!cuda::std::is_function_v, ""); static_assert(!cuda::std::is_function_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp index ff0f5db45c..71623a6969 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp @@ -22,7 +22,7 @@ void test_is_integral() static_assert( cuda::std::is_integral::value, ""); static_assert( cuda::std::is_integral::value, ""); static_assert( cuda::std::is_integral::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_integral_v, ""); static_assert( cuda::std::is_integral_v, ""); static_assert( cuda::std::is_integral_v, ""); @@ -38,7 +38,7 @@ void test_is_not_integral() static_assert(!cuda::std::is_integral::value, ""); static_assert(!cuda::std::is_integral::value, ""); static_assert(!cuda::std::is_integral::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_integral_v, ""); static_assert(!cuda::std::is_integral_v, ""); static_assert(!cuda::std::is_integral_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp index d6bdbdfe35..6b39c262cc 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_lvalue_reference.pass.cpp @@ -22,7 +22,7 @@ void test_is_lvalue_reference() static_assert( cuda::std::is_lvalue_reference::value, ""); static_assert( cuda::std::is_lvalue_reference::value, ""); static_assert( cuda::std::is_lvalue_reference::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_lvalue_reference_v, ""); static_assert( cuda::std::is_lvalue_reference_v, ""); static_assert( cuda::std::is_lvalue_reference_v, ""); @@ -38,7 +38,7 @@ void test_is_not_lvalue_reference() static_assert(!cuda::std::is_lvalue_reference::value, ""); static_assert(!cuda::std::is_lvalue_reference::value, ""); static_assert(!cuda::std::is_lvalue_reference::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_lvalue_reference_v, ""); static_assert(!cuda::std::is_lvalue_reference_v, ""); static_assert(!cuda::std::is_lvalue_reference_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp index 60521a0cc5..ec774fa167 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_object_pointer.pass.cpp @@ -22,7 +22,7 @@ void test_is_member_object_pointer() static_assert( cuda::std::is_member_object_pointer::value, ""); static_assert( cuda::std::is_member_object_pointer::value, ""); static_assert( cuda::std::is_member_object_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_member_object_pointer_v, ""); static_assert( cuda::std::is_member_object_pointer_v, ""); static_assert( cuda::std::is_member_object_pointer_v, ""); @@ -38,7 +38,7 @@ void test_is_not_member_object_pointer() static_assert(!cuda::std::is_member_object_pointer::value, ""); static_assert(!cuda::std::is_member_object_pointer::value, ""); static_assert(!cuda::std::is_member_object_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_member_object_pointer_v, ""); static_assert(!cuda::std::is_member_object_pointer_v, ""); static_assert(!cuda::std::is_member_object_pointer_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp index 122b0837c8..7e0f471486 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_member_pointer.pass.cpp @@ -22,7 +22,7 @@ void test_is_member_pointer() static_assert( cuda::std::is_member_pointer::value, ""); static_assert( cuda::std::is_member_pointer::value, ""); static_assert( cuda::std::is_member_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_member_pointer_v, ""); static_assert( cuda::std::is_member_pointer_v, ""); static_assert( cuda::std::is_member_pointer_v, ""); @@ -38,7 +38,7 @@ void test_is_not_member_pointer() static_assert(!cuda::std::is_member_pointer::value, ""); static_assert(!cuda::std::is_member_pointer::value, ""); static_assert(!cuda::std::is_member_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_member_pointer_v, ""); static_assert(!cuda::std::is_member_pointer_v, ""); static_assert(!cuda::std::is_member_pointer_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp index 8e4f281fa7..3decb3556b 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_null_pointer.pass.cpp @@ -24,7 +24,7 @@ void test_is_null_pointer() static_assert( cuda::std::is_null_pointer::value, ""); static_assert( cuda::std::is_null_pointer::value, ""); static_assert( cuda::std::is_null_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_null_pointer_v, ""); static_assert( cuda::std::is_null_pointer_v, ""); static_assert( cuda::std::is_null_pointer_v, ""); @@ -40,7 +40,7 @@ void test_is_not_null_pointer() static_assert(!cuda::std::is_null_pointer::value, ""); static_assert(!cuda::std::is_null_pointer::value, ""); static_assert(!cuda::std::is_null_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_null_pointer_v, ""); static_assert(!cuda::std::is_null_pointer_v, ""); static_assert(!cuda::std::is_null_pointer_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp index e993e77d12..a83762f202 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_pointer.pass.cpp @@ -22,7 +22,7 @@ void test_is_pointer() static_assert( cuda::std::is_pointer::value, ""); static_assert( cuda::std::is_pointer::value, ""); static_assert( cuda::std::is_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_pointer_v, ""); static_assert( cuda::std::is_pointer_v, ""); static_assert( cuda::std::is_pointer_v, ""); @@ -38,7 +38,7 @@ void test_is_not_pointer() static_assert(!cuda::std::is_pointer::value, ""); static_assert(!cuda::std::is_pointer::value, ""); static_assert(!cuda::std::is_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_pointer_v, ""); static_assert(!cuda::std::is_pointer_v, ""); static_assert(!cuda::std::is_pointer_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp index 53085006c7..ff3e36edb3 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_rvalue_reference.pass.cpp @@ -22,7 +22,7 @@ void test_is_rvalue_reference() static_assert( cuda::std::is_rvalue_reference::value, ""); static_assert( cuda::std::is_rvalue_reference::value, ""); static_assert( cuda::std::is_rvalue_reference::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_rvalue_reference_v, ""); static_assert( cuda::std::is_rvalue_reference_v, ""); static_assert( cuda::std::is_rvalue_reference_v, ""); @@ -38,7 +38,7 @@ void test_is_not_rvalue_reference() static_assert(!cuda::std::is_rvalue_reference::value, ""); static_assert(!cuda::std::is_rvalue_reference::value, ""); static_assert(!cuda::std::is_rvalue_reference::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_rvalue_reference_v, ""); static_assert(!cuda::std::is_rvalue_reference_v, ""); static_assert(!cuda::std::is_rvalue_reference_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp index 4f6170fcf7..2699bfadde 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_union.pass.cpp @@ -22,7 +22,7 @@ void test_is_union() static_assert( cuda::std::is_union::value, ""); static_assert( cuda::std::is_union::value, ""); static_assert( cuda::std::is_union::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_union_v, ""); static_assert( cuda::std::is_union_v, ""); static_assert( cuda::std::is_union_v, ""); @@ -38,7 +38,7 @@ void test_is_not_union() static_assert(!cuda::std::is_union::value, ""); static_assert(!cuda::std::is_union::value, ""); static_assert(!cuda::std::is_union::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_union_v, ""); static_assert(!cuda::std::is_union_v, ""); static_assert(!cuda::std::is_union_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp index 6098615b1a..7af3667609 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.cat/is_void.pass.cpp @@ -22,7 +22,7 @@ void test_is_void() static_assert( cuda::std::is_void::value, ""); static_assert( cuda::std::is_void::value, ""); static_assert( cuda::std::is_void::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_void_v, ""); static_assert( cuda::std::is_void_v, ""); static_assert( cuda::std::is_void_v, ""); @@ -38,7 +38,7 @@ void test_is_not_void() static_assert(!cuda::std::is_void::value, ""); static_assert(!cuda::std::is_void::value, ""); static_assert(!cuda::std::is_void::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_void_v, ""); static_assert(!cuda::std::is_void_v, ""); static_assert(!cuda::std::is_void_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp index 9a16950a07..e1a1b41149 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp @@ -22,7 +22,7 @@ void test_is_arithmetic() static_assert( cuda::std::is_arithmetic::value, ""); static_assert( cuda::std::is_arithmetic::value, ""); static_assert( cuda::std::is_arithmetic::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_arithmetic_v, ""); static_assert( cuda::std::is_arithmetic_v, ""); static_assert( cuda::std::is_arithmetic_v, ""); @@ -38,7 +38,7 @@ void test_is_not_arithmetic() static_assert(!cuda::std::is_arithmetic::value, ""); static_assert(!cuda::std::is_arithmetic::value, ""); static_assert(!cuda::std::is_arithmetic::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_arithmetic_v, ""); static_assert(!cuda::std::is_arithmetic_v, ""); static_assert(!cuda::std::is_arithmetic_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp index 9e86a59c97..733366f492 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_bounded_array.pass.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits @@ -17,6 +17,7 @@ #include "test_macros.h" template +__host__ __device__ void test_array_imp() { static_assert( B == cuda::std::is_bounded_array::value, "" ); @@ -24,6 +25,7 @@ void test_array_imp() } template +__host__ __device__ void test_array() { test_array_imp(); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp index 831932f97b..7a97d4eff1 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_compound.pass.cpp @@ -22,7 +22,7 @@ void test_is_compound() static_assert( cuda::std::is_compound::value, ""); static_assert( cuda::std::is_compound::value, ""); static_assert( cuda::std::is_compound::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_compound_v, ""); static_assert( cuda::std::is_compound_v, ""); static_assert( cuda::std::is_compound_v, ""); @@ -38,7 +38,7 @@ void test_is_not_compound() static_assert(!cuda::std::is_compound::value, ""); static_assert(!cuda::std::is_compound::value, ""); static_assert(!cuda::std::is_compound::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_compound_v, ""); static_assert(!cuda::std::is_compound_v, ""); static_assert(!cuda::std::is_compound_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp index 313336a610..2e547bb7e2 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_fundamental.pass.cpp @@ -24,7 +24,7 @@ void test_is_fundamental() static_assert( cuda::std::is_fundamental::value, ""); static_assert( cuda::std::is_fundamental::value, ""); static_assert( cuda::std::is_fundamental::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_fundamental_v, ""); static_assert( cuda::std::is_fundamental_v, ""); static_assert( cuda::std::is_fundamental_v, ""); @@ -40,7 +40,7 @@ void test_is_not_fundamental() static_assert(!cuda::std::is_fundamental::value, ""); static_assert(!cuda::std::is_fundamental::value, ""); static_assert(!cuda::std::is_fundamental::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_fundamental_v, ""); static_assert(!cuda::std::is_fundamental_v, ""); static_assert(!cuda::std::is_fundamental_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp index 41da89101c..c73e29f78e 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_member_pointer.pass.cpp @@ -22,7 +22,7 @@ void test_is_member_pointer() static_assert( cuda::std::is_member_pointer::value, ""); static_assert( cuda::std::is_member_pointer::value, ""); static_assert( cuda::std::is_member_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_member_pointer_v, ""); static_assert( cuda::std::is_member_pointer_v, ""); static_assert( cuda::std::is_member_pointer_v, ""); @@ -38,7 +38,7 @@ void test_is_not_member_pointer() static_assert(!cuda::std::is_member_pointer::value, ""); static_assert(!cuda::std::is_member_pointer::value, ""); static_assert(!cuda::std::is_member_pointer::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_member_pointer_v, ""); static_assert(!cuda::std::is_member_pointer_v, ""); static_assert(!cuda::std::is_member_pointer_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp index eb168af7b1..aaa2754083 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_object.pass.cpp @@ -22,7 +22,7 @@ void test_is_object() static_assert( cuda::std::is_object::value, ""); static_assert( cuda::std::is_object::value, ""); static_assert( cuda::std::is_object::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_object_v, ""); static_assert( cuda::std::is_object_v, ""); static_assert( cuda::std::is_object_v, ""); @@ -38,7 +38,7 @@ void test_is_not_object() static_assert(!cuda::std::is_object::value, ""); static_assert(!cuda::std::is_object::value, ""); static_assert(!cuda::std::is_object::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_object_v, ""); static_assert(!cuda::std::is_object_v, ""); static_assert(!cuda::std::is_object_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp index 5ebccc59d0..4cb1c4269e 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp @@ -22,7 +22,7 @@ void test_is_reference() static_assert( cuda::std::is_reference::value, ""); static_assert( cuda::std::is_reference::value, ""); static_assert( cuda::std::is_reference::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_reference_v, ""); static_assert( cuda::std::is_reference_v, ""); static_assert( cuda::std::is_reference_v, ""); @@ -38,7 +38,7 @@ void test_is_not_reference() static_assert(!cuda::std::is_reference::value, ""); static_assert(!cuda::std::is_reference::value, ""); static_assert(!cuda::std::is_reference::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_reference_v, ""); static_assert(!cuda::std::is_reference_v, ""); static_assert(!cuda::std::is_reference_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp index 3f27a28c2c..103ae1c61c 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_scalar.pass.cpp @@ -22,7 +22,7 @@ void test_is_scalar() static_assert( cuda::std::is_scalar::value, ""); static_assert( cuda::std::is_scalar::value, ""); static_assert( cuda::std::is_scalar::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_scalar_v, ""); static_assert( cuda::std::is_scalar_v, ""); static_assert( cuda::std::is_scalar_v, ""); @@ -38,7 +38,7 @@ void test_is_not_scalar() static_assert(!cuda::std::is_scalar::value, ""); static_assert(!cuda::std::is_scalar::value, ""); static_assert(!cuda::std::is_scalar::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_scalar_v, ""); static_assert(!cuda::std::is_scalar_v, ""); static_assert(!cuda::std::is_scalar_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp index b66cc4e3e5..f7d52c1d4e 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.comp/is_unbounded_array.pass.cpp @@ -5,7 +5,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits @@ -17,6 +17,7 @@ #include "test_macros.h" template +__host__ __device__ void test_array_imp() { static_assert( B == cuda::std::is_unbounded_array::value, "" ); @@ -24,6 +25,7 @@ void test_array_imp() } template +__host__ __device__ void test_array() { test_array_imp(); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp index 8414fc614b..15f38a31a1 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // UNSUPPORTED: clang-3, clang-4, clang-5, apple-clang, gcc-5, gcc-6, msvc-19 // type_traits diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp index 5ba5982f29..32ece07e46 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/has_virtual_destructor.pass.cpp @@ -22,7 +22,7 @@ void test_has_virtual_destructor() static_assert( cuda::std::has_virtual_destructor::value, ""); static_assert( cuda::std::has_virtual_destructor::value, ""); static_assert( cuda::std::has_virtual_destructor::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::has_virtual_destructor_v, ""); static_assert( cuda::std::has_virtual_destructor_v, ""); static_assert( cuda::std::has_virtual_destructor_v, ""); @@ -38,7 +38,7 @@ void test_has_not_virtual_destructor() static_assert(!cuda::std::has_virtual_destructor::value, ""); static_assert(!cuda::std::has_virtual_destructor::value, ""); static_assert(!cuda::std::has_virtual_destructor::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::has_virtual_destructor_v, ""); static_assert(!cuda::std::has_virtual_destructor_v, ""); static_assert(!cuda::std::has_virtual_destructor_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp index cc813de768..737c991a5e 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp @@ -21,7 +21,7 @@ void test_is_abstract() static_assert( cuda::std::is_abstract::value, ""); static_assert( cuda::std::is_abstract::value, ""); static_assert( cuda::std::is_abstract::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_abstract_v, ""); static_assert( cuda::std::is_abstract_v, ""); static_assert( cuda::std::is_abstract_v, ""); @@ -37,7 +37,7 @@ void test_is_not_abstract() static_assert(!cuda::std::is_abstract::value, ""); static_assert(!cuda::std::is_abstract::value, ""); static_assert(!cuda::std::is_abstract::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_abstract_v, ""); static_assert(!cuda::std::is_abstract_v, ""); static_assert(!cuda::std::is_abstract_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp index f8eb47679c..b63d3aa1fe 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_aggregate.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // @@ -20,7 +20,7 @@ template __host__ __device__ void test_true() { -#if !defined(_LIBCUDACXX_HAS_NO_IS_AGGREGATE) +#if defined(_LIBCUDACXX_IS_AGGREGATE) static_assert( cuda::std::is_aggregate::value, ""); static_assert( cuda::std::is_aggregate::value, ""); static_assert( cuda::std::is_aggregate::value, ""); @@ -36,7 +36,7 @@ template __host__ __device__ void test_false() { -#if !defined(_LIBCUDACXX_HAS_NO_IS_AGGREGATE) +#if defined(_LIBCUDACXX_IS_AGGREGATE) static_assert(!cuda::std::is_aggregate::value, ""); static_assert(!cuda::std::is_aggregate::value, ""); static_assert(!cuda::std::is_aggregate::value, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp index a543a57865..6209eb310e 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp @@ -28,7 +28,7 @@ __host__ __device__ void test_is_assignable() { static_assert(( cuda::std::is_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_assignable_v, ""); #endif } @@ -38,7 +38,7 @@ __host__ __device__ void test_is_not_assignable() { static_assert((!cuda::std::is_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( !cuda::std::is_assignable_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp index 22dd5a32e9..dc9fe53a39 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_const.pass.cpp @@ -21,7 +21,7 @@ void test_is_const() static_assert( cuda::std::is_const::value, ""); static_assert(!cuda::std::is_const::value, ""); static_assert( cuda::std::is_const::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_const_v, ""); static_assert( cuda::std::is_const_v, ""); static_assert(!cuda::std::is_const_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp index 676c65cf57..3e171a0ab7 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp @@ -98,7 +98,7 @@ void test_is_constructible() // use it, so waive it. LIBCPP11_STATIC_ASSERT((cuda::std::__libcpp_is_constructible::type::value), ""); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_constructible_v, ""); #endif } @@ -113,7 +113,7 @@ void test_is_constructible() // use it, so waive it. LIBCPP11_STATIC_ASSERT((cuda::std::__libcpp_is_constructible::type::value), ""); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_constructible_v), ""); #endif } @@ -128,7 +128,7 @@ void test_is_constructible() // use it, so waive it. LIBCPP11_STATIC_ASSERT((cuda::std::__libcpp_is_constructible::type::value), ""); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_constructible_v), ""); #endif } @@ -143,7 +143,7 @@ void test_is_constructible() // use it, so waive it. LIBCPP11_STATIC_ASSERT((cuda::std::__libcpp_is_constructible::type::value), ""); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_constructible_v), ""); #endif } @@ -158,7 +158,7 @@ void test_is_not_constructible() // use it, so waive it. LIBCPP11_STATIC_ASSERT((!cuda::std::__libcpp_is_constructible::type::value), ""); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_constructible_v), ""); #endif } @@ -173,7 +173,7 @@ void test_is_not_constructible() // use it, so waive it. LIBCPP11_STATIC_ASSERT((!cuda::std::__libcpp_is_constructible::type::value), ""); #endif -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_constructible_v), ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp index 77ae7dd666..647cc07ee1 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_assignable.pass.cpp @@ -18,7 +18,7 @@ __host__ __device__ void test_is_copy_assignable() { static_assert(( cuda::std::is_copy_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_copy_assignable_v), ""); #endif } @@ -28,7 +28,7 @@ __host__ __device__ void test_is_not_copy_assignable() { static_assert((!cuda::std::is_copy_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_copy_assignable_v), ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp index f6c038b57a..33b44830eb 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_copy_constructible.pass.cpp @@ -18,7 +18,7 @@ __host__ __device__ void test_is_copy_constructible() { static_assert( cuda::std::is_copy_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_copy_constructible_v, ""); #endif } @@ -28,7 +28,7 @@ __host__ __device__ void test_is_not_copy_constructible() { static_assert(!cuda::std::is_copy_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_copy_constructible_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp index 615e0d3cef..bd6afa7737 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_default_constructible.pass.cpp @@ -21,7 +21,7 @@ void test_is_default_constructible() static_assert( cuda::std::is_default_constructible::value, ""); static_assert( cuda::std::is_default_constructible::value, ""); static_assert( cuda::std::is_default_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_default_constructible_v, ""); static_assert( cuda::std::is_default_constructible_v, ""); static_assert( cuda::std::is_default_constructible_v, ""); @@ -37,7 +37,7 @@ void test_is_not_default_constructible() static_assert(!cuda::std::is_default_constructible::value, ""); static_assert(!cuda::std::is_default_constructible::value, ""); static_assert(!cuda::std::is_default_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_default_constructible_v, ""); static_assert(!cuda::std::is_default_constructible_v, ""); static_assert(!cuda::std::is_default_constructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp index 4933ffb8c0..bdf5a69cd7 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_destructible.pass.cpp @@ -27,7 +27,7 @@ void test_is_destructible() static_assert( cuda::std::is_destructible::value, ""); static_assert( cuda::std::is_destructible::value, ""); static_assert( cuda::std::is_destructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_destructible_v, ""); static_assert( cuda::std::is_destructible_v, ""); static_assert( cuda::std::is_destructible_v, ""); @@ -43,7 +43,7 @@ void test_is_not_destructible() static_assert(!cuda::std::is_destructible::value, ""); static_assert(!cuda::std::is_destructible::value, ""); static_assert(!cuda::std::is_destructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_destructible_v, ""); static_assert(!cuda::std::is_destructible_v, ""); static_assert(!cuda::std::is_destructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp index be1b4f97c1..ab966f0bde 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_empty.pass.cpp @@ -29,7 +29,7 @@ void test_is_empty() static_assert( cuda::std::is_empty::value, ""); static_assert( cuda::std::is_empty::value, ""); static_assert( cuda::std::is_empty::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_empty_v, ""); static_assert( cuda::std::is_empty_v, ""); static_assert( cuda::std::is_empty_v, ""); @@ -45,7 +45,7 @@ void test_is_not_empty() static_assert(!cuda::std::is_empty::value, ""); static_assert(!cuda::std::is_empty::value, ""); static_assert(!cuda::std::is_empty::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_empty_v, ""); static_assert(!cuda::std::is_empty_v, ""); static_assert(!cuda::std::is_empty_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp index 664fbd6fe9..566f4169cd 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_final.pass.cpp @@ -26,7 +26,7 @@ void test_is_final() static_assert( cuda::std::is_final::value, ""); static_assert( cuda::std::is_final::value, ""); static_assert( cuda::std::is_final::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_final_v, ""); static_assert( cuda::std::is_final_v, ""); static_assert( cuda::std::is_final_v, ""); @@ -42,7 +42,7 @@ void test_is_not_final() static_assert(!cuda::std::is_final::value, ""); static_assert(!cuda::std::is_final::value, ""); static_assert(!cuda::std::is_final::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_final_v, ""); static_assert(!cuda::std::is_final_v, ""); static_assert(!cuda::std::is_final_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp index 3d22e5b2e1..533b957907 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp @@ -22,7 +22,7 @@ void test_is_literal_type() static_assert( cuda::std::is_literal_type::value, ""); static_assert( cuda::std::is_literal_type::value, ""); static_assert( cuda::std::is_literal_type::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_literal_type_v, ""); static_assert( cuda::std::is_literal_type_v, ""); static_assert( cuda::std::is_literal_type_v, ""); @@ -38,7 +38,7 @@ void test_is_not_literal_type() static_assert(!cuda::std::is_literal_type::value, ""); static_assert(!cuda::std::is_literal_type::value, ""); static_assert(!cuda::std::is_literal_type::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_literal_type_v, ""); static_assert(!cuda::std::is_literal_type_v, ""); static_assert(!cuda::std::is_literal_type_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp index 0244e6a35d..5c65113128 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_assignable.pass.cpp @@ -18,7 +18,7 @@ __host__ __device__ void test_is_move_assignable() { static_assert(( cuda::std::is_move_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_move_assignable_v), ""); #endif } @@ -28,7 +28,7 @@ __host__ __device__ void test_is_not_move_assignable() { static_assert((!cuda::std::is_move_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_move_assignable_v), ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp index 6d75c7f454..4b5451bae9 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_move_constructible.pass.cpp @@ -18,7 +18,7 @@ __host__ __device__ void test_is_move_constructible() { static_assert( cuda::std::is_move_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_move_constructible_v, ""); #endif } @@ -28,7 +28,7 @@ __host__ __device__ void test_is_not_move_constructible() { static_assert(!cuda::std::is_move_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_move_constructible_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp index 3328ed4c98..94372aef3c 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_assignable.pass.cpp @@ -18,7 +18,7 @@ __host__ __device__ void test_is_nothrow_assignable() { static_assert(( cuda::std::is_nothrow_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_nothrow_assignable_v), ""); #endif } @@ -28,7 +28,7 @@ __host__ __device__ void test_is_not_nothrow_assignable() { static_assert((!cuda::std::is_nothrow_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_nothrow_assignable_v), ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp index 8ffbfea737..cbae238b7c 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_constructible.pass.cpp @@ -19,7 +19,7 @@ __host__ __device__ void test_is_nothrow_constructible() { static_assert(( cuda::std::is_nothrow_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_nothrow_constructible_v), ""); #endif } @@ -29,7 +29,7 @@ __host__ __device__ void test_is_nothrow_constructible() { static_assert(( cuda::std::is_nothrow_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_nothrow_constructible_v), ""); #endif } @@ -39,7 +39,7 @@ __host__ __device__ void test_is_not_nothrow_constructible() { static_assert((!cuda::std::is_nothrow_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_nothrow_constructible_v), ""); #endif } @@ -49,7 +49,7 @@ __host__ __device__ void test_is_not_nothrow_constructible() { static_assert((!cuda::std::is_nothrow_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_nothrow_constructible_v), ""); #endif } @@ -59,7 +59,7 @@ __host__ __device__ void test_is_not_nothrow_constructible() { static_assert((!cuda::std::is_nothrow_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_nothrow_constructible_v), ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp index 4c7cc60678..34e03b9370 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_assignable.pass.cpp @@ -18,7 +18,7 @@ __host__ __device__ void test_has_nothrow_assign() { static_assert( cuda::std::is_nothrow_copy_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_nothrow_copy_assignable_v, ""); #endif } @@ -28,7 +28,7 @@ __host__ __device__ void test_has_not_nothrow_assign() { static_assert(!cuda::std::is_nothrow_copy_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_nothrow_copy_assignable_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp index 95df4f4b24..6c6756be76 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_copy_constructible.pass.cpp @@ -19,7 +19,7 @@ void test_is_nothrow_copy_constructible() { static_assert( cuda::std::is_nothrow_copy_constructible::value, ""); static_assert( cuda::std::is_nothrow_copy_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_nothrow_copy_constructible_v, ""); static_assert( cuda::std::is_nothrow_copy_constructible_v, ""); #endif @@ -33,7 +33,7 @@ void test_has_not_nothrow_copy_constructor() static_assert(!cuda::std::is_nothrow_copy_constructible::value, ""); static_assert(!cuda::std::is_nothrow_copy_constructible::value, ""); static_assert(!cuda::std::is_nothrow_copy_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_nothrow_copy_constructible_v, ""); static_assert(!cuda::std::is_nothrow_copy_constructible_v, ""); static_assert(!cuda::std::is_nothrow_copy_constructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp index 0f238460ed..383cb51997 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_default_constructible.pass.cpp @@ -21,7 +21,7 @@ void test_is_nothrow_default_constructible() static_assert( cuda::std::is_nothrow_default_constructible::value, ""); static_assert( cuda::std::is_nothrow_default_constructible::value, ""); static_assert( cuda::std::is_nothrow_default_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_nothrow_default_constructible_v, ""); static_assert( cuda::std::is_nothrow_default_constructible_v, ""); static_assert( cuda::std::is_nothrow_default_constructible_v, ""); @@ -37,7 +37,7 @@ void test_has_not_nothrow_default_constructor() static_assert(!cuda::std::is_nothrow_default_constructible::value, ""); static_assert(!cuda::std::is_nothrow_default_constructible::value, ""); static_assert(!cuda::std::is_nothrow_default_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_nothrow_default_constructible_v, ""); static_assert(!cuda::std::is_nothrow_default_constructible_v, ""); static_assert(!cuda::std::is_nothrow_default_constructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp index cce4b76eae..0a093c3369 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_destructible.pass.cpp @@ -26,7 +26,7 @@ void test_is_nothrow_destructible() static_assert( cuda::std::is_nothrow_destructible::value, ""); static_assert( cuda::std::is_nothrow_destructible::value, ""); static_assert( cuda::std::is_nothrow_destructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_nothrow_destructible_v, ""); static_assert( cuda::std::is_nothrow_destructible_v, ""); static_assert( cuda::std::is_nothrow_destructible_v, ""); @@ -42,7 +42,7 @@ void test_is_not_nothrow_destructible() static_assert(!cuda::std::is_nothrow_destructible::value, ""); static_assert(!cuda::std::is_nothrow_destructible::value, ""); static_assert(!cuda::std::is_nothrow_destructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_nothrow_destructible_v, ""); static_assert(!cuda::std::is_nothrow_destructible_v, ""); static_assert(!cuda::std::is_nothrow_destructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp index 7eba32504b..0f64e59238 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp @@ -18,7 +18,7 @@ __host__ __device__ void test_has_nothrow_assign() { static_assert( cuda::std::is_nothrow_move_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_nothrow_move_assignable_v, ""); #endif } @@ -28,7 +28,7 @@ __host__ __device__ void test_has_not_nothrow_assign() { static_assert(!cuda::std::is_nothrow_move_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_nothrow_move_assignable_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp index 691bc77aea..26fab3e7df 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_constructible.pass.cpp @@ -19,7 +19,7 @@ void test_is_nothrow_move_constructible() { static_assert( cuda::std::is_nothrow_move_constructible::value, ""); static_assert( cuda::std::is_nothrow_move_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_nothrow_move_constructible_v, ""); static_assert( cuda::std::is_nothrow_move_constructible_v, ""); #endif @@ -33,7 +33,7 @@ void test_has_not_nothrow_move_constructor() static_assert(!cuda::std::is_nothrow_move_constructible::value, ""); static_assert(!cuda::std::is_nothrow_move_constructible::value, ""); static_assert(!cuda::std::is_nothrow_move_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_nothrow_move_constructible_v, ""); static_assert(!cuda::std::is_nothrow_move_constructible_v, ""); static_assert(!cuda::std::is_nothrow_move_constructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp index 1ebae4e479..4069ac7ded 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp index 8ffa69da93..da98d28d00 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_swappable_with.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp index 2e6a04dade..b947ce0cf4 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_pod.pass.cpp @@ -21,7 +21,7 @@ void test_is_pod() static_assert( cuda::std::is_pod::value, ""); static_assert( cuda::std::is_pod::value, ""); static_assert( cuda::std::is_pod::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_pod_v, ""); static_assert( cuda::std::is_pod_v, ""); static_assert( cuda::std::is_pod_v, ""); @@ -37,7 +37,7 @@ void test_is_not_pod() static_assert(!cuda::std::is_pod::value, ""); static_assert(!cuda::std::is_pod::value, ""); static_assert(!cuda::std::is_pod::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_pod_v, ""); static_assert(!cuda::std::is_pod_v, ""); static_assert(!cuda::std::is_pod_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp index cb849a0ca5..713e1bc7a5 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_polymorphic.pass.cpp @@ -21,7 +21,7 @@ void test_is_polymorphic() static_assert( cuda::std::is_polymorphic::value, ""); static_assert( cuda::std::is_polymorphic::value, ""); static_assert( cuda::std::is_polymorphic::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_polymorphic_v, ""); static_assert( cuda::std::is_polymorphic_v, ""); static_assert( cuda::std::is_polymorphic_v, ""); @@ -37,7 +37,7 @@ void test_is_not_polymorphic() static_assert(!cuda::std::is_polymorphic::value, ""); static_assert(!cuda::std::is_polymorphic::value, ""); static_assert(!cuda::std::is_polymorphic::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_polymorphic_v, ""); static_assert(!cuda::std::is_polymorphic_v, ""); static_assert(!cuda::std::is_polymorphic_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp index a49b383797..c3e1aef9fd 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_signed.pass.cpp @@ -21,7 +21,7 @@ void test_is_signed() static_assert( cuda::std::is_signed::value, ""); static_assert( cuda::std::is_signed::value, ""); static_assert( cuda::std::is_signed::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_signed_v, ""); static_assert( cuda::std::is_signed_v, ""); static_assert( cuda::std::is_signed_v, ""); @@ -37,7 +37,7 @@ void test_is_not_signed() static_assert(!cuda::std::is_signed::value, ""); static_assert(!cuda::std::is_signed::value, ""); static_assert(!cuda::std::is_signed::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_signed_v, ""); static_assert(!cuda::std::is_signed_v, ""); static_assert(!cuda::std::is_signed_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp index 4cfee4af9f..44380a799c 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_standard_layout.pass.cpp @@ -21,7 +21,7 @@ void test_is_standard_layout() static_assert( cuda::std::is_standard_layout::value, ""); static_assert( cuda::std::is_standard_layout::value, ""); static_assert( cuda::std::is_standard_layout::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_standard_layout_v, ""); static_assert( cuda::std::is_standard_layout_v, ""); static_assert( cuda::std::is_standard_layout_v, ""); @@ -37,7 +37,7 @@ void test_is_not_standard_layout() static_assert(!cuda::std::is_standard_layout::value, ""); static_assert(!cuda::std::is_standard_layout::value, ""); static_assert(!cuda::std::is_standard_layout::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_standard_layout_v, ""); static_assert(!cuda::std::is_standard_layout_v, ""); static_assert(!cuda::std::is_standard_layout_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp index d1830126ca..607c06099a 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp index aa6279e19c..408f8e7e6f 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp @@ -34,7 +34,7 @@ int main(int, char**) typedef double T[17][29]; { LIBCPP_STATIC_ASSERT(cuda::std::__is_swappable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(cuda::std::is_swappable_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp index 4057c40558..d1ac3ed2a5 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_with.pass.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -// UNSUPPORTED: c++98, c++03, c++11, c++14 +// UNSUPPORTED: c++98, c++03, c++11 // type_traits diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp index 71823d06b3..0cffd1a1c9 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivial.pass.cpp @@ -21,7 +21,7 @@ void test_is_trivial() static_assert( cuda::std::is_trivial::value, ""); static_assert( cuda::std::is_trivial::value, ""); static_assert( cuda::std::is_trivial::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivial_v, ""); static_assert( cuda::std::is_trivial_v, ""); static_assert( cuda::std::is_trivial_v, ""); @@ -37,7 +37,7 @@ void test_is_not_trivial() static_assert(!cuda::std::is_trivial::value, ""); static_assert(!cuda::std::is_trivial::value, ""); static_assert(!cuda::std::is_trivial::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivial_v, ""); static_assert(!cuda::std::is_trivial_v, ""); static_assert(!cuda::std::is_trivial_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp index 05ca4867b0..461ec376bf 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_assignable.pass.cpp @@ -20,7 +20,7 @@ __host__ __device__ void test_is_trivially_assignable() { static_assert(( cuda::std::is_trivially_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_trivially_assignable_v), ""); #endif } @@ -30,7 +30,7 @@ __host__ __device__ void test_is_not_trivially_assignable() { static_assert((!cuda::std::is_trivially_assignable::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_trivially_assignable_v), ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp index ab1cbbba57..203a035c4e 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_constructible.pass.cpp @@ -19,7 +19,7 @@ __host__ __device__ void test_is_trivially_constructible() { static_assert(( cuda::std::is_trivially_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_trivially_constructible_v), ""); #endif } @@ -29,7 +29,7 @@ __host__ __device__ void test_is_trivially_constructible() { static_assert(( cuda::std::is_trivially_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(( cuda::std::is_trivially_constructible_v), ""); #endif } @@ -39,7 +39,7 @@ __host__ __device__ void test_is_not_trivially_constructible() { static_assert((!cuda::std::is_trivially_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_trivially_constructible_v), ""); #endif } @@ -49,7 +49,7 @@ __host__ __device__ void test_is_not_trivially_constructible() { static_assert((!cuda::std::is_trivially_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_trivially_constructible_v), ""); #endif } @@ -59,7 +59,7 @@ __host__ __device__ void test_is_not_trivially_constructible() { static_assert((!cuda::std::is_trivially_constructible::value), ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert((!cuda::std::is_trivially_constructible_v), ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp index c1c542f45b..cc5aee6d61 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_assignable.pass.cpp @@ -20,7 +20,7 @@ __host__ __device__ void test_has_trivially_copy_assignable() { static_assert( cuda::std::is_trivially_copy_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_copy_assignable_v, ""); #endif } @@ -30,7 +30,7 @@ __host__ __device__ void test_has_not_trivially_copy_assignable() { static_assert(!cuda::std::is_trivially_copy_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_copy_assignable_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp index 73a99331fe..bb55583dd0 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copy_constructible.pass.cpp @@ -21,7 +21,7 @@ void test_is_trivially_copy_constructible() { static_assert( cuda::std::is_trivially_copy_constructible::value, ""); static_assert( cuda::std::is_trivially_copy_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_copy_constructible_v, ""); static_assert( cuda::std::is_trivially_copy_constructible_v, ""); #endif @@ -33,7 +33,7 @@ void test_has_not_trivial_copy_constructor() { static_assert(!cuda::std::is_trivially_copy_constructible::value, ""); static_assert(!cuda::std::is_trivially_copy_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_copy_constructible_v, ""); static_assert(!cuda::std::is_trivially_copy_constructible_v, ""); #endif diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp index 308f06d921..2a702da7e8 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable.pass.cpp @@ -28,7 +28,7 @@ void test_is_trivially_copyable() { static_assert( cuda::std::is_trivially_copyable::value, ""); static_assert( cuda::std::is_trivially_copyable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_copyable_v, ""); static_assert( cuda::std::is_trivially_copyable_v, ""); #endif @@ -40,7 +40,7 @@ void test_is_not_trivially_copyable() { static_assert(!cuda::std::is_trivially_copyable::value, ""); static_assert(!cuda::std::is_trivially_copyable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_copyable_v, ""); static_assert(!cuda::std::is_trivially_copyable_v, ""); #endif diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp index 1e625f5be3..3be92c940d 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_copyable_volatile.pass.cpp @@ -41,7 +41,7 @@ void test_is_trivially_copyable_volatile() { static_assert( cuda::std::is_trivially_copyable::value, ""); static_assert( cuda::std::is_trivially_copyable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_copyable_v, ""); static_assert( cuda::std::is_trivially_copyable_v, ""); #endif @@ -53,7 +53,7 @@ void test_is_not_trivially_copyable_volatile() { static_assert(!cuda::std::is_trivially_copyable::value, ""); static_assert(!cuda::std::is_trivially_copyable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_copyable_v, ""); static_assert(!cuda::std::is_trivially_copyable_v, ""); #endif diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp index fe666adcfa..6ac1dfa1be 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_default_constructible.pass.cpp @@ -21,7 +21,7 @@ void test_is_trivially_default_constructible() static_assert( cuda::std::is_trivially_default_constructible::value, ""); static_assert( cuda::std::is_trivially_default_constructible::value, ""); static_assert( cuda::std::is_trivially_default_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_default_constructible_v, ""); static_assert( cuda::std::is_trivially_default_constructible_v, ""); static_assert( cuda::std::is_trivially_default_constructible_v, ""); @@ -37,7 +37,7 @@ void test_has_not_trivial_default_constructor() static_assert(!cuda::std::is_trivially_default_constructible::value, ""); static_assert(!cuda::std::is_trivially_default_constructible::value, ""); static_assert(!cuda::std::is_trivially_default_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_default_constructible_v, ""); static_assert(!cuda::std::is_trivially_default_constructible_v, ""); static_assert(!cuda::std::is_trivially_default_constructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp index 7178814026..153967aabe 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_destructible.pass.cpp @@ -27,7 +27,7 @@ void test_is_trivially_destructible() static_assert( cuda::std::is_trivially_destructible::value, ""); static_assert( cuda::std::is_trivially_destructible::value, ""); static_assert( cuda::std::is_trivially_destructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_destructible_v, ""); static_assert( cuda::std::is_trivially_destructible_v, ""); static_assert( cuda::std::is_trivially_destructible_v, ""); @@ -43,7 +43,7 @@ void test_is_not_trivially_destructible() static_assert(!cuda::std::is_trivially_destructible::value, ""); static_assert(!cuda::std::is_trivially_destructible::value, ""); static_assert(!cuda::std::is_trivially_destructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_destructible_v, ""); static_assert(!cuda::std::is_trivially_destructible_v, ""); static_assert(!cuda::std::is_trivially_destructible_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp index a8cbcdea5c..4391a8f6ed 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_assignable.pass.cpp @@ -20,7 +20,7 @@ __host__ __device__ void test_has_trivial_assign() { static_assert( cuda::std::is_trivially_move_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_move_assignable_v, ""); #endif } @@ -30,7 +30,7 @@ __host__ __device__ void test_has_not_trivial_assign() { static_assert(!cuda::std::is_trivially_move_assignable::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_move_assignable_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp index 742f50d837..bc160f574a 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_trivially_move_constructible.pass.cpp @@ -20,7 +20,7 @@ __host__ __device__ void test_is_trivially_move_constructible() { static_assert( cuda::std::is_trivially_move_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_trivially_move_constructible_v, ""); #endif } @@ -30,7 +30,7 @@ __host__ __device__ void test_has_not_trivial_move_constructor() { static_assert(!cuda::std::is_trivially_move_constructible::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_trivially_move_constructible_v, ""); #endif } diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp index c258d37c48..2bb41bdbf2 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_unsigned.pass.cpp @@ -21,7 +21,7 @@ void test_is_unsigned() static_assert( cuda::std::is_unsigned::value, ""); static_assert( cuda::std::is_unsigned::value, ""); static_assert( cuda::std::is_unsigned::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert( cuda::std::is_unsigned_v, ""); static_assert( cuda::std::is_unsigned_v, ""); static_assert( cuda::std::is_unsigned_v, ""); @@ -37,7 +37,7 @@ void test_is_not_unsigned() static_assert(!cuda::std::is_unsigned::value, ""); static_assert(!cuda::std::is_unsigned::value, ""); static_assert(!cuda::std::is_unsigned::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_unsigned_v, ""); static_assert(!cuda::std::is_unsigned_v, ""); static_assert(!cuda::std::is_unsigned_v, ""); diff --git a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp index 7e700ec98e..45e07df4c2 100644 --- a/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp +++ b/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_volatile.pass.cpp @@ -21,7 +21,7 @@ void test_is_volatile() static_assert(!cuda::std::is_volatile::value, ""); static_assert( cuda::std::is_volatile::value, ""); static_assert( cuda::std::is_volatile::value, ""); -#if TEST_STD_VER > 14 +#if TEST_STD_VER > 11 static_assert(!cuda::std::is_volatile_v, ""); static_assert(!cuda::std::is_volatile_v, ""); static_assert( cuda::std::is_volatile_v, ""); diff --git a/libcxx/include/__config b/libcxx/include/__config index 93ffb3b7b2..b1c32dd6ba 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -863,7 +863,9 @@ typedef __char32_t char32_t; #define _LIBCUDACXX_IS_LITERAL(...) __is_literal_type(__VA_ARGS__) #define _LIBCUDACXX_IS_UNION(...) __is_union(__VA_ARGS__) #define _LIBCUDACXX_IS_CLASS(...) __is_class(__VA_ARGS__) +#if _MSC_VER > 1914 // MSVC doesn't include __is_aggregate until 19.15 #define _LIBCUDACXX_IS_AGGREGATE(...) __is_aggregate(__VA_ARGS__) +#endif // _MSC_VER > 1914 #define _LIBCUDACXX_IS_POD(...) __is_pod(__VA_ARGS__) #define _LIBCUDACXX_IS_STANDARD_LAYOUT(...) __is_standard_layout(__VA_ARGS__) #define _LIBCUDACXX_IS_ENUM(...) __is_enum(__VA_ARGS__) diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef index 40416718f8..9f1ce122fb 100644 --- a/libcxx/include/cstddef +++ b/libcxx/include/cstddef @@ -68,7 +68,7 @@ typedef long double max_align_t; _LIBCUDACXX_END_NAMESPACE_STD -#if _LIBCUDACXX_STD_VER > 14 +#if _LIBCUDACXX_STD_VER > 11 #ifdef _LIBCUDACXX_BEGIN_NAMESPACE_STD_NOVERSION _LIBCUDACXX_BEGIN_NAMESPACE_STD_NOVERSION #else diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index cef8542ec4..41221c559f 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -448,7 +448,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS integral_constant template _LIBCUDACXX_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value; -#if _LIBCUDACXX_STD_VER > 14 +#if _LIBCUDACXX_STD_VER > 11 template using bool_constant = integral_constant; #define _LIBCUDACXX_BOOL_CONSTANT(__b) bool_constant<(__b)> @@ -552,7 +552,7 @@ template using enable_if_t = typename enable_if<_Bp template struct _LIBCUDACXX_TEMPLATE_VIS is_same : public false_type {}; template struct _LIBCUDACXX_TEMPLATE_VIS is_same<_Tp, _Tp> : public true_type {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_same_v = is_same<_Tp, _Up>::value; @@ -654,7 +654,7 @@ struct __two {char __lx[2];}; template struct _LIBCUDACXX_TEMPLATE_VIS is_const : public false_type {}; template struct _LIBCUDACXX_TEMPLATE_VIS is_const<_Tp const> : public true_type {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_const_v = is_const<_Tp>::value; @@ -665,7 +665,7 @@ _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_const_v template struct _LIBCUDACXX_TEMPLATE_VIS is_volatile : public false_type {}; template struct _LIBCUDACXX_TEMPLATE_VIS is_volatile<_Tp volatile> : public true_type {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_volatile_v = is_volatile<_Tp>::value; @@ -703,7 +703,7 @@ template <> struct __libcpp_is_void : public true_type {}; template struct _LIBCUDACXX_TEMPLATE_VIS is_void : public __libcpp_is_void::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_void_v = is_void<_Tp>::value; @@ -721,7 +721,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS __is_nullptr_t template struct _LIBCUDACXX_TEMPLATE_VIS is_null_pointer : public __is_nullptr_t_impl::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_null_pointer_v = is_null_pointer<_Tp>::value; @@ -759,7 +759,7 @@ template <> struct __libcpp_is_integral<__uint128_t> : public tr template struct _LIBCUDACXX_TEMPLATE_VIS is_integral : public __libcpp_is_integral::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_integral_v = is_integral<_Tp>::value; @@ -775,7 +775,7 @@ template <> struct __libcpp_is_floating_point : public tru template struct _LIBCUDACXX_TEMPLATE_VIS is_floating_point : public __libcpp_is_floating_point::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_floating_point_v = is_floating_point<_Tp>::value; @@ -790,7 +790,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_array<_Tp[]> template struct _LIBCUDACXX_TEMPLATE_VIS is_array<_Tp[_Np]> : public true_type {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_array_v = is_array<_Tp>::value; @@ -812,7 +812,7 @@ template struct __libcpp_remove_objc_qualifiers<_Tp __unsafe_unretai template struct _LIBCUDACXX_TEMPLATE_VIS is_pointer : public __libcpp_is_pointer::type>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_pointer_v = is_pointer<_Tp>::value; @@ -830,7 +830,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_reference : publi template struct _LIBCUDACXX_TEMPLATE_VIS is_reference<_Tp&> : public true_type {}; template struct _LIBCUDACXX_TEMPLATE_VIS is_reference<_Tp&&> : public true_type {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_reference_v = is_reference<_Tp>::value; @@ -858,7 +858,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_union #endif // defined(_LIBCUDACXX_IS_UNION) && !defined(_LIBCUDACXX_USE_IS_UNION_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_union_v = is_union<_Tp>::value; @@ -884,7 +884,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_class #endif // defined(_LIBCUDACXX_IS_CLASS) && !defined(_LIBCUDACXX_USE_IS_CLASS_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_class_v = is_class<_Tp>::value; @@ -902,7 +902,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_function > {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_function_v = is_function<_Tp>::value; @@ -927,7 +927,7 @@ template struct __libcpp_is_member_pointer<_Tp _Up::*> { template struct _LIBCUDACXX_TEMPLATE_VIS is_member_function_pointer : public _BoolConstant< __libcpp_is_member_pointer::type>::__is_func > {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_member_function_pointer_v = is_member_function_pointer<_Tp>::value; @@ -938,7 +938,7 @@ _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_member_function_pointer_v template struct _LIBCUDACXX_TEMPLATE_VIS is_member_pointer : public _BoolConstant< __libcpp_is_member_pointer::type>::__is_member > {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_member_pointer_v = is_member_pointer<_Tp>::value; @@ -949,7 +949,7 @@ _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_member_pointer_v template struct _LIBCUDACXX_TEMPLATE_VIS is_member_object_pointer : public _BoolConstant< __libcpp_is_member_pointer::type>::__is_obj > {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_member_object_pointer_v = is_member_object_pointer<_Tp>::value; @@ -978,7 +978,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_enum #endif // defined(_LIBCUDACXX_IS_ENUM) && !defined(_LIBCUDACXX_USE_IS_ENUM_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_enum_v = is_enum<_Tp>::value; @@ -990,7 +990,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_arithmetic : public integral_constant::value || is_floating_point<_Tp>::value> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_arithmetic_v = is_arithmetic<_Tp>::value; @@ -1003,7 +1003,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_fundamental __is_nullptr_t<_Tp>::value || is_arithmetic<_Tp>::value> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_fundamental_v = is_fundamental<_Tp>::value; @@ -1020,7 +1020,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_scalar template <> struct _LIBCUDACXX_TEMPLATE_VIS is_scalar : public true_type {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_scalar_v = is_scalar<_Tp>::value; @@ -1034,7 +1034,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_object is_union<_Tp>::value || is_class<_Tp>::value > {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_object_v = is_object<_Tp>::value; @@ -1045,7 +1045,7 @@ _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_object_v template struct _LIBCUDACXX_TEMPLATE_VIS is_compound : public integral_constant::value> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_compound_v = is_compound<_Tp>::value; @@ -1156,7 +1156,7 @@ template struct __is_same_uncvref : _IsSame::type, typename __uncvref<_Up>::type> {}; -#if _LIBCUDACXX_STD_VER > 17 +#if _LIBCUDACXX_STD_VER > 11 // remove_cvref - same as __uncvref template struct remove_cvref : public __uncvref<_Tp> {}; @@ -1201,7 +1201,7 @@ template using add_pointer_t = typename add_pointer<_Tp>::type; #endif // type_identity -#if _LIBCUDACXX_STD_VER > 17 +#if _LIBCUDACXX_STD_VER > 11 template struct type_identity { typedef _Tp type; }; template using type_identity_t = typename type_identity<_Tp>::type; #endif @@ -1221,7 +1221,7 @@ template struct __libcpp_is_signed<_Tp, false> : public false_type { template struct _LIBCUDACXX_TEMPLATE_VIS is_signed : public __libcpp_is_signed<_Tp> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_signed_v = is_signed<_Tp>::value; @@ -1242,7 +1242,7 @@ template struct __libcpp_is_unsigned<_Tp, false> : public false_type template struct _LIBCUDACXX_TEMPLATE_VIS is_unsigned : public __libcpp_is_unsigned<_Tp> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_unsigned_v = is_unsigned<_Tp>::value; @@ -1257,7 +1257,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS rank<_Tp[]> template struct _LIBCUDACXX_TEMPLATE_VIS rank<_Tp[_Np]> : public integral_constant::value + 1> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR size_t rank_v = rank<_Tp>::value; @@ -1276,7 +1276,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS extent<_Tp[_Np] template struct _LIBCUDACXX_TEMPLATE_VIS extent<_Tp[_Np], _Ip> : public integral_constant::value> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR size_t extent_v = extent<_Tp, _Ip>::value; @@ -1308,7 +1308,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS remove_all_exte template using remove_all_extents_t = typename remove_all_extents<_Tp>::type; #endif -#if _LIBCUDACXX_STD_VER > 17 +#if _LIBCUDACXX_STD_VER > 11 // is_bounded_array template struct _LIBCUDACXX_TEMPLATE_VIS is_bounded_array : false_type {}; @@ -1369,7 +1369,7 @@ template using decay_t = typename decay<_Tp>::type; template struct _LIBCUDACXX_TEMPLATE_VIS is_abstract : public integral_constant {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_abstract_v = is_abstract<_Tp>::value; @@ -1394,14 +1394,14 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_final : public integral_constant {}; #endif -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_final_v = is_final<_Tp>::value; #endif // is_aggregate -#if _LIBCUDACXX_STD_VER > 14 && defined(_LIBCUDACXX_IS_AGGREGATE) +#if _LIBCUDACXX_STD_VER > 11 && defined(_LIBCUDACXX_IS_AGGREGATE) template struct _LIBCUDACXX_TEMPLATE_VIS is_aggregate : public integral_constant {}; @@ -1412,7 +1412,7 @@ _LIBCUDACXX_INLINE_VAR constexpr bool is_aggregate_v = is_aggregate<_Tp>::value; #endif -#endif // _LIBCUDACXX_STD_VER > 14 && defined(_LIBCUDACXX_IS_AGGREGATE) +#endif // _LIBCUDACXX_STD_VER > 11 && defined(_LIBCUDACXX_IS_AGGREGATE) // is_base_of @@ -1449,7 +1449,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_base_of #endif // defined(_LIBCUDACXX_IS_BASE_OF) && !defined(_LIBCUDACXX_USE_IS_BASE_OF_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_base_of_v = is_base_of<_Bp, _Dp>::value; @@ -1532,7 +1532,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_convertible #endif // defined(_LIBCUDACXX_IS_CONVERTIBLE_TO) && !defined(_LIBCUDACXX_USE_IS_CONVERTIBLE_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_convertible_v = is_convertible<_From, _To>::value; @@ -1540,7 +1540,7 @@ _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_convertible_v // is_nothrow_convertible -#if _LIBCUDACXX_STD_VER > 17 +#if _LIBCUDACXX_STD_VER > 11 template static void __test_noexcept(_Tp) noexcept; @@ -1560,9 +1560,9 @@ struct is_nothrow_convertible : _Or< >::type { }; template -inline constexpr bool is_nothrow_convertible_v = is_nothrow_convertible<_Fm, _To>::value; +_LIBCUDACXX_INLINE_VAR constexpr bool is_nothrow_convertible_v = is_nothrow_convertible<_Fm, _To>::value; -#endif // _LIBCUDACXX_STD_VER > 17 +#endif // _LIBCUDACXX_STD_VER > 11 // is_empty @@ -1595,7 +1595,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_empty : public __libcpp_ #endif // defined(_LIBCUDACXX_IS_EMPTY) && !defined(_LIBCUDACXX_USE_IS_EMPTY_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_empty_v = is_empty<_Tp>::value; @@ -1621,7 +1621,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_polymorphic #endif // defined(_LIBCUDACXX_IS_POLYMORPHIC) && !defined(_LIBCUDACXX_USE_IS_POLYMORPHIC_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_polymorphic_v = is_polymorphic<_Tp>::value; @@ -1641,7 +1641,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS has_virtual_destructor #endif // defined(_LIBCUDACXX_HAS_VIRTUAL_DESTRUCTOR) && !defined(_LIBCUDACXX_USE_HAS_VIRTUAL_DESTRUCTOR_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool has_virtual_destructor_v = has_virtual_destructor<_Tp>::value; @@ -1649,7 +1649,7 @@ _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool has_virtual_destructor_v // has_unique_object_representations -#if _LIBCUDACXX_STD_VER > 14 && defined(_LIBCUDACXX_HAS_UNIQUE_OBJECT_REPRESENTATIONS) +#if _LIBCUDACXX_STD_VER > 11 && defined(_LIBCUDACXX_HAS_UNIQUE_OBJECT_REPRESENTATIONS) template struct _LIBCUDACXX_TEMPLATE_VIS has_unique_object_representations : public integral_constant::value; #endif -#endif // _LIBCUDACXX_STD_VER > 14 && defined(_LIBCUDACXX_HAS_UNIQUE_OBJECT_REPRESENTATIONS) +#endif // _LIBCUDACXX_STD_VER > 11 && defined(_LIBCUDACXX_HAS_UNIQUE_OBJECT_REPRESENTATIONS) // alignment_of template struct _LIBCUDACXX_TEMPLATE_VIS alignment_of : public integral_constant {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR size_t alignment_of_v = alignment_of<_Tp>::value; @@ -2209,7 +2209,7 @@ struct is_assignable #endif // defined(_LIBCUDACXX_IS_ASSIGNABLE) && !defined(_LIBCUDACXX_USE_IS_ASSIGNABLE_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_assignable_v = is_assignable<_Tp, _Arg>::value; @@ -2221,7 +2221,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_copy_assignable : public is_assignable::type, typename add_lvalue_reference::type>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_copy_assignable_v = is_copy_assignable<_Tp>::value; @@ -2233,7 +2233,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_move_assignable : public is_assignable::type, typename add_rvalue_reference<_Tp>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_move_assignable_v = is_move_assignable<_Tp>::value; @@ -2309,7 +2309,7 @@ struct is_destructible #endif // defined(_LIBCUDACXX_IS_DESTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_DESTRUCTIBLE_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_destructible_v = is_destructible<_Tp>::value; @@ -3332,7 +3332,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_constructible #endif // defined(_LIBCUDACXX_IS_CONSTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_CONSTRUCTIBLE_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_constructible_v = is_constructible<_Tp, _Args...>::value; @@ -3345,7 +3345,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_default_constructible : public is_constructible<_Tp> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_default_constructible_v = is_default_constructible<_Tp>::value; @@ -3383,7 +3383,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_copy_constructible : public is_constructible<_Tp, typename add_lvalue_reference::type>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_copy_constructible_v = is_copy_constructible<_Tp>::value; @@ -3396,7 +3396,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_move_constructible : public is_constructible<_Tp, typename add_rvalue_reference<_Tp>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_move_constructible_v = is_move_constructible<_Tp>::value; @@ -3525,7 +3525,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_constructible<_Tp, _Tp&, #endif // _LIBCUDACXX_HAS_NO_VARIADICS -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_constructible_v = is_trivially_constructible<_Tp, _Args...>::value; @@ -3537,7 +3537,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_default_constr : public is_trivially_constructible<_Tp> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_default_constructible_v = is_trivially_default_constructible<_Tp>::value; @@ -3549,7 +3549,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_copy_construct : public is_trivially_constructible<_Tp, typename add_lvalue_reference::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_copy_constructible_v = is_trivially_copy_constructible<_Tp>::value; @@ -3561,7 +3561,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_move_construct : public is_trivially_constructible<_Tp, typename add_rvalue_reference<_Tp>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_move_constructible_v = is_trivially_move_constructible<_Tp>::value; @@ -3601,7 +3601,7 @@ struct is_trivially_assignable<_Tp&, _Tp&&> #endif // defined(_LIBCUDACXX_IS_TRIVIALLY_ASSIGNABLE) && !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_ASSIGNABLE_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_assignable_v = is_trivially_assignable<_Tp, _Arg>::value; @@ -3613,7 +3613,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_copy_assignabl : public is_trivially_assignable::type, typename add_lvalue_reference::type>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_copy_assignable_v = is_trivially_copy_assignable<_Tp>::value; @@ -3626,7 +3626,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_move_assignabl typename add_rvalue_reference<_Tp>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_move_assignable_v = is_trivially_move_assignable<_Tp>::value; @@ -3658,7 +3658,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_destructible<_ #endif // defined(_LIBCUDACXX_HAS_TRIVIAL_DESTRUCTOR) && !defined(_LIBCUDACXX_USE_HAS_TRIVIAL_DESTRUCTOR_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_destructible_v = is_trivially_destructible<_Tp>::value; @@ -3827,7 +3827,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_nothrow_constructible<_Tp, _Tp&, #endif // defined(_LIBCUDACXX_IS_NOTHROW_CONSTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_NOTHROW_CONSTRUCTIBLE_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_constructible_v = is_nothrow_constructible<_Tp, _Args...>::value; @@ -3839,7 +3839,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_nothrow_default_construc : public is_nothrow_constructible<_Tp> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_default_constructible_v = is_nothrow_default_constructible<_Tp>::value; @@ -3851,7 +3851,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_nothrow_copy_constructib : public is_nothrow_constructible<_Tp, typename add_lvalue_reference::type>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_copy_constructible_v = is_nothrow_copy_constructible<_Tp>::value; @@ -3863,7 +3863,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_nothrow_move_constructib : public is_nothrow_constructible<_Tp, typename add_rvalue_reference<_Tp>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_move_constructible_v = is_nothrow_move_constructible<_Tp>::value; @@ -3943,7 +3943,7 @@ struct is_nothrow_assignable<_Tp&, _Tp&&> #endif // !defined(_LIBCUDACXX_HAS_NO_NOEXCEPT) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_assignable_v = is_nothrow_assignable<_Tp, _Arg>::value; @@ -3955,7 +3955,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_nothrow_copy_assignable : public is_nothrow_assignable::type, typename add_lvalue_reference::type>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_copy_assignable_v = is_nothrow_copy_assignable<_Tp>::value; @@ -3968,7 +3968,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_nothrow_move_assignable typename add_rvalue_reference<_Tp>::type> {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_move_assignable_v = is_nothrow_move_assignable<_Tp>::value; @@ -4037,7 +4037,7 @@ struct _LIBCUDACXX_TEMPLATE_VIS is_nothrow_destructible<_Tp[]> #endif // defined(_LIBCUDACXX_IS_NOTHROW_DESTRUCTIBLE) && !defined(_LIBCUDACXX_USE_IS_NOTHROW_DESTRUCTIBLE_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_nothrow_destructible_v = is_nothrow_destructible<_Tp>::value; @@ -4060,7 +4060,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_pod #endif // defined(_LIBCUDACXX_IS_POD) && !defined(_LIBCUDACXX_USE_IS_POD_FALLBACK) -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_pod_v = is_pod<_Tp>::value; @@ -4077,7 +4077,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_literal_type #endif // defined(_LIBCUDACXX_IS_LITERAL) && !defined(_LIBCUDACXX_USE_IS_LITERAL_FALLBACK) {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_literal_type_v = is_literal_type<_Tp>::value; @@ -4093,7 +4093,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_standard_layout #endif // defined(_LIBCUDACXX_IS_STANDARD_LAYOUT) && !defined(_LIBCUDACXX_USE_IS_STANDARD_LAYOUT_FALLBACK) {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_standard_layout_v = is_standard_layout<_Tp>::value; @@ -4109,7 +4109,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivially_copyable #endif // defined(_LIBCUDACXX_IS_TRIVIALLY_COPYABLE) && !defined(_LIBCUDACXX_USE_IS_TRIVIALLY_COPYABLE_FALLBACK) {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivially_copyable_v = is_trivially_copyable<_Tp>::value; @@ -4126,7 +4126,7 @@ template struct _LIBCUDACXX_TEMPLATE_VIS is_trivial #endif // defined(_LIBCUDACXX_IS_TRIVIAL) && !defined(_LIBCUDACXX_USE_IS_TRIVIAL_FALLBACK) {}; -#if _LIBCUDACXX_STD_VER > 14 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) +#if _LIBCUDACXX_STD_VER > 11 && !defined(_LIBCUDACXX_HAS_NO_VARIABLE_TEMPLATES) template _LIBCUDACXX_INLINE_VAR _LIBCUDACXX_CONSTEXPR bool is_trivial_v = is_trivial<_Tp>::value; @@ -4410,7 +4410,7 @@ class _LIBCUDACXX_TEMPLATE_VIS result_of<_Fp(_Args...)> template using result_of_t = typename result_of<_Tp>::type; #endif -#if _LIBCUDACXX_STD_VER > 14 +#if _LIBCUDACXX_STD_VER > 11 // invoke_result @@ -4459,7 +4459,7 @@ template _LIBCUDACXX_INLINE_VAR constexpr bool is_nothrow_invocable_r_v = is_nothrow_invocable_r<_Ret, _Fn, _Args...>::value; -#endif // _LIBCUDACXX_STD_VER > 14 +#endif // _LIBCUDACXX_STD_VER > 11 #endif // !defined(_LIBCUDACXX_CXX03_LANG) @@ -4583,7 +4583,7 @@ struct __is_nothrow_swappable { }; -#if _LIBCUDACXX_STD_VER > 14 +#if _LIBCUDACXX_STD_VER > 11 template struct _LIBCUDACXX_TEMPLATE_VIS is_swappable_with @@ -4637,7 +4637,7 @@ template _LIBCUDACXX_INLINE_VAR constexpr bool is_nothrow_swappable_v = is_nothrow_swappable<_Tp>::value; -#endif // _LIBCUDACXX_STD_VER > 14 +#endif // _LIBCUDACXX_STD_VER > 11 #if defined(_LIBCUDACXX_UNDERLYING_TYPE) && !defined(_LIBCUDACXX_USE_UNDERLYING_TYPE_FALLBACK) template ::value> struct __underlying_type_impl; @@ -4755,7 +4755,7 @@ struct __has_operator_addressof #endif // _LIBCUDACXX_CXX03_LANG -#if _LIBCUDACXX_STD_VER > 14 +#if _LIBCUDACXX_STD_VER > 11 template using void_t = void; @@ -4788,7 +4788,7 @@ struct negation : _Not<_Tp> {}; template _LIBCUDACXX_INLINE_VAR constexpr bool negation_v = negation<_Tp>::value; -#endif // _LIBCUDACXX_STD_VER > 14 +#endif // _LIBCUDACXX_STD_VER > 11 // These traits are used in __tree and __hash_table #ifndef _LIBCUDACXX_CXX03_LANG @@ -4843,7 +4843,7 @@ using _IsCharLikeType = _And, is_trivial<_CharT> >; _LIBCUDACXX_END_NAMESPACE_STD -#if _LIBCUDACXX_STD_VER > 14 +#if _LIBCUDACXX_STD_VER > 11 // std::byte #ifdef _LIBCUDACXX_BEGIN_NAMESPACE_STD_NOVERSION _LIBCUDACXX_BEGIN_NAMESPACE_STD_NOVERSION @@ -4885,7 +4885,7 @@ _LIBCUDACXX_END_NAMESPACE_STD_NOVERSION #else } #endif //_LIBCUDACXX_END_NAMESPACE_STD_NOVERSION -#endif +#endif // _LIBCUDACXX_STD_VER > 11 #ifndef __cuda_std__ #include <__pragma_pop> diff --git a/libcxx/test/std/language.support/support.types/byte.pass.cpp b/libcxx/test/std/language.support/support.types/byte.pass.cpp index 8e33cc47b0..7252cd8b41 100644 --- a/libcxx/test/std/language.support/support.types/byte.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byte.pass.cpp @@ -10,7 +10,8 @@ #include #include "test_macros.h" -// XFAIL: c++98, c++03, c++11, c++14 + +// UNSUPPORTED: c++98, c++03, c++11, c++14 // If we're just building the test and not executing it, it should pass. // UNSUPPORTED: no_execute