diff --git a/libcxx/test/libcxx-03/containers/container_traits.compile.pass.cpp b/libcxx/test/libcxx-03/containers/container_traits.compile.pass.cpp deleted file mode 100644 index 22be217487951..0000000000000 --- a/libcxx/test/libcxx-03/containers/container_traits.compile.pass.cpp +++ /dev/null @@ -1,165 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -// -// <__type_traits/container_traits.h> -// - -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - -#include <__type_traits/container_traits.h> - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "test_allocator.h" -#include "test_macros.h" -#include "MoveOnly.h" - -struct ThrowOnMove { - ThrowOnMove(); - ThrowOnMove(const ThrowOnMove&) TEST_NOEXCEPT_COND(false); - ThrowOnMove(ThrowOnMove&&) TEST_NOEXCEPT_COND(false); - ThrowOnMove& operator=(ThrowOnMove&&) TEST_NOEXCEPT_COND(false); - ThrowOnMove& operator=(const ThrowOnMove&) TEST_NOEXCEPT_COND(false); - - bool operator<(ThrowOnMove const&) const; - bool operator==(ThrowOnMove const&) const; -}; - -struct NonCopyThrowOnMove { - NonCopyThrowOnMove(); - NonCopyThrowOnMove(NonCopyThrowOnMove&&) TEST_NOEXCEPT_COND(false); - NonCopyThrowOnMove(const NonCopyThrowOnMove&) = delete; - NonCopyThrowOnMove& operator=(NonCopyThrowOnMove&&) TEST_NOEXCEPT_COND(false); - NonCopyThrowOnMove& operator=(const NonCopyThrowOnMove&) = delete; - - bool operator<(NonCopyThrowOnMove const&) const; - bool operator==(NonCopyThrowOnMove const&) const; -}; - -struct ThrowingHash { - template - std::size_t operator()(const T&) const TEST_NOEXCEPT_COND(false); -}; - -struct NoThrowHash { - template - std::size_t operator()(const T&) const TEST_NOEXCEPT; -}; - -template -void check() { - static_assert( - std::__container_traits::__emplacement_has_strong_exception_safety_guarantee == Expected, ""); -} - -void test() { - check >(); - check > >(); - check >(); - check >(); - check >(); - - check >(); - check > >(); - check >(); - check >(); - check >(); - - check >(); - check > >(); - check >(); - check >(); - check >(); - - check >(); - check > >(); - check >(); - check >(); - check >(); - - check >(); - check, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, test_allocator > >(); - check >(); - check >(); - check >(); - -#if TEST_STD_VER < 11 - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); -#else - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); - - check >(); - check, std::less, test_allocator > >(); - check >(); - check >(); - check >(); -#endif -} diff --git a/libcxx/test/libcxx-03/iterators/bounded_iter/comparison.pass.cpp b/libcxx/test/libcxx-03/iterators/bounded_iter/comparison.pass.cpp index a12b77afa0db0..490bfed54a159 100644 --- a/libcxx/test/libcxx-03/iterators/bounded_iter/comparison.pass.cpp +++ b/libcxx/test/libcxx-03/iterators/bounded_iter/comparison.pass.cpp @@ -11,10 +11,8 @@ // // Comparison operators -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include -#include <__iterator/bounded_iter.h> +#include <__cxx03/__iterator/bounded_iter.h> #include "test_iterators.h" #include "test_macros.h" diff --git a/libcxx/test/libcxx-03/numerics/bit.ops.pass.cpp b/libcxx/test/libcxx-03/numerics/bit.ops.pass.cpp index 1bf9d3890f45f..0b82f352ffe3d 100644 --- a/libcxx/test/libcxx-03/numerics/bit.ops.pass.cpp +++ b/libcxx/test/libcxx-03/numerics/bit.ops.pass.cpp @@ -9,11 +9,8 @@ // Test the __XXXX routines in the header. // These are not supposed to be exhaustive tests, just sanity checks. -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - -#include <__bit/bit_log2.h> -#include <__bit/countl.h> -#include <__bit/rotate.h> +#include <__cxx03/__bit/countl.h> +#include <__cxx03/__bit/rotate.h> #include #include "test_macros.h" @@ -27,11 +24,6 @@ TEST_CONSTEXPR_CXX14 bool test() { assert(std::__rotr(v, 3) == 0x02468acfU); assert(std::__countl_zero(v) == 3); -#if TEST_STD_VER > 17 - ASSERT_SAME_TYPE(unsigned, decltype(std::__bit_log2(v))); - assert(std::__bit_log2(v) == 28); -#endif - return true; } diff --git a/libcxx/test/libcxx-03/type_traits/desugars_to.compile.pass.cpp b/libcxx/test/libcxx-03/type_traits/desugars_to.compile.pass.cpp deleted file mode 100644 index 4ed6d15ee9e95..0000000000000 --- a/libcxx/test/libcxx-03/type_traits/desugars_to.compile.pass.cpp +++ /dev/null @@ -1,42 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - -// This test requires variable templates -// UNSUPPORTED: gcc && c++11 - -#include <__type_traits/desugars_to.h> - -struct Tag {}; -struct Operation {}; - -namespace std { -template <> -bool const __desugars_to_v = true; -} - -void tests() { - // Make sure that __desugars_to is false by default - { - struct Foo {}; - static_assert(!std::__desugars_to_v, ""); - } - - // Make sure that __desugars_to bypasses const and ref qualifiers on the operation - { - static_assert(std::__desugars_to_v, ""); // no quals - static_assert(std::__desugars_to_v, ""); - - static_assert(std::__desugars_to_v, ""); - static_assert(std::__desugars_to_v, ""); - - static_assert(std::__desugars_to_v, ""); - static_assert(std::__desugars_to_v, ""); - } -} diff --git a/libcxx/test/libcxx-03/type_traits/is_constant_evaluated.pass.cpp b/libcxx/test/libcxx-03/type_traits/is_constant_evaluated.pass.cpp index a538c52a534e7..5e1b34259f2f8 100644 --- a/libcxx/test/libcxx-03/type_traits/is_constant_evaluated.pass.cpp +++ b/libcxx/test/libcxx-03/type_traits/is_constant_evaluated.pass.cpp @@ -14,9 +14,7 @@ // returns false when there's no constant evaluation support from the compiler. // as well as when called not in a constexpr context -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - -#include <__type_traits/is_constant_evaluated.h> +#include <__cxx03/__type_traits/is_constant_evaluated.h> #include #include "test_macros.h" @@ -25,10 +23,6 @@ int main (int, char**) { ASSERT_SAME_TYPE(decltype(std::__libcpp_is_constant_evaluated()), bool); ASSERT_NOEXCEPT(std::__libcpp_is_constant_evaluated()); -#if !defined(_LIBCPP_CXX03_LANG) - static_assert(std::__libcpp_is_constant_evaluated(), ""); -#endif - bool p = std::__libcpp_is_constant_evaluated(); assert(!p); diff --git a/libcxx/test/libcxx-03/type_traits/is_replaceable.compile.pass.cpp b/libcxx/test/libcxx-03/type_traits/is_replaceable.compile.pass.cpp deleted file mode 100644 index 7735538cccae4..0000000000000 --- a/libcxx/test/libcxx-03/type_traits/is_replaceable.compile.pass.cpp +++ /dev/null @@ -1,313 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - -#include <__type_traits/is_replaceable.h> -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "constexpr_char_traits.h" -#include "test_allocator.h" -#include "test_macros.h" - -#ifndef TEST_HAS_NO_LOCALIZATION -# include -#endif - -template -struct NonPropagatingStatefulMoveAssignAlloc : std::allocator { - using propagate_on_container_move_assignment = std::false_type; - using is_always_equal = std::false_type; - template - struct rebind { - using other = NonPropagatingStatefulMoveAssignAlloc; - }; -}; - -template -struct NonPropagatingStatefulCopyAssignAlloc : std::allocator { - using propagate_on_container_copy_assignment = std::false_type; - using is_always_equal = std::false_type; - template - struct rebind { - using other = NonPropagatingStatefulCopyAssignAlloc; - }; -}; - -template -struct NonPropagatingStatelessMoveAssignAlloc : std::allocator { - using propagate_on_container_move_assignment = std::false_type; - using is_always_equal = std::true_type; - template - struct rebind { - using other = NonPropagatingStatelessMoveAssignAlloc; - }; -}; - -template -struct NonPropagatingStatelessCopyAssignAlloc : std::allocator { - using propagate_on_container_copy_assignment = std::false_type; - using is_always_equal = std::true_type; - template - struct rebind { - using other = NonPropagatingStatelessCopyAssignAlloc; - }; -}; - -template -struct NonReplaceableStatelessAlloc : std::allocator { - // Ensure that we don't consider an allocator that is a member of a container to be - // replaceable if it's not replaceable, even if it always compares equal and always propagates. - using propagate_on_container_move_assignment = std::true_type; - using propagate_on_container_copy_assignment = std::true_type; - using is_always_equal = std::true_type; - NonReplaceableStatelessAlloc() = default; - NonReplaceableStatelessAlloc(NonReplaceableStatelessAlloc const&) {} - NonReplaceableStatelessAlloc(NonReplaceableStatelessAlloc&&) = default; - template - struct rebind { - using other = NonReplaceableStatelessAlloc; - }; -}; -static_assert(!std::__is_replaceable >::value, ""); - -static_assert(!std::__is_replaceable >::value, ""); // we use that property below - -struct Empty {}; -static_assert(std::__is_replaceable::value, ""); -static_assert(std::__is_replaceable::value, ""); -static_assert(std::__is_replaceable::value, ""); -static_assert(std::__is_replaceable::value, ""); - -struct TriviallyCopyable { - char c; - int i; - Empty s; -}; -static_assert(std::__is_replaceable::value, ""); - -struct NotTriviallyCopyable { - NotTriviallyCopyable(const NotTriviallyCopyable&); - ~NotTriviallyCopyable(); -}; -static_assert(!std::__is_replaceable::value, ""); - -struct MoveOnlyTriviallyCopyable { - MoveOnlyTriviallyCopyable(const MoveOnlyTriviallyCopyable&) = delete; - MoveOnlyTriviallyCopyable& operator=(const MoveOnlyTriviallyCopyable&) = delete; - MoveOnlyTriviallyCopyable(MoveOnlyTriviallyCopyable&&) = default; - MoveOnlyTriviallyCopyable& operator=(MoveOnlyTriviallyCopyable&&) = default; -}; -static_assert(std::__is_replaceable::value, ""); - -struct CustomCopyAssignment { - CustomCopyAssignment(const CustomCopyAssignment&) = default; - CustomCopyAssignment(CustomCopyAssignment&&) = default; - CustomCopyAssignment& operator=(const CustomCopyAssignment&); - CustomCopyAssignment& operator=(CustomCopyAssignment&&) = default; -}; -static_assert(!std::__is_replaceable::value, ""); - -struct CustomMoveAssignment { - CustomMoveAssignment(const CustomMoveAssignment&) = default; - CustomMoveAssignment(CustomMoveAssignment&&) = default; - CustomMoveAssignment& operator=(const CustomMoveAssignment&) = default; - CustomMoveAssignment& operator=(CustomMoveAssignment&&); -}; -static_assert(!std::__is_replaceable::value, ""); - -// library-internal types -// ---------------------- - -// __split_buffer -static_assert(std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable > >::value, - ""); -static_assert(!std::__is_replaceable > >::value, - ""); -static_assert(std::__is_replaceable > >::value, - ""); -static_assert(std::__is_replaceable > >::value, - ""); - -// standard library types -// ---------------------- - -// array -static_assert(std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable, 0> >::value, ""); - -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable, 1> >::value, ""); - -// basic_string -struct MyChar { - char c; -}; -template -struct NotReplaceableCharTraits : constexpr_char_traits { - NotReplaceableCharTraits(const NotReplaceableCharTraits&); - NotReplaceableCharTraits& operator=(const NotReplaceableCharTraits&); - ~NotReplaceableCharTraits(); -}; - -static_assert(std::__is_replaceable, std::allocator > >::value, - ""); -static_assert( - std::__is_replaceable, std::allocator > >::value, ""); -static_assert( - std::__is_replaceable, std::allocator > >::value, - ""); -static_assert(!std::__is_replaceable, test_allocator > >::value, - ""); -static_assert(!std::__is_replaceable< - std::basic_string, NonReplaceableStatelessAlloc > >::value, - ""); -static_assert(std::__is_replaceable< - std::basic_string, std::allocator > >::value, - ""); -static_assert( - !std::__is_replaceable< - std::basic_string, NonPropagatingStatefulCopyAssignAlloc > >::value, - ""); -static_assert( - !std::__is_replaceable< - std::basic_string, NonPropagatingStatefulMoveAssignAlloc > >::value, - ""); -static_assert( - std::__is_replaceable< - std::basic_string, NonPropagatingStatelessCopyAssignAlloc > >::value, - ""); -static_assert( - std::__is_replaceable< - std::basic_string, NonPropagatingStatelessMoveAssignAlloc > >::value, - ""); - -// deque -static_assert(std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(std::__is_replaceable > >::value, ""); -static_assert(std::__is_replaceable > >::value, ""); - -// exception_ptr -#ifndef _LIBCPP_ABI_MICROSOFT -static_assert(std::__is_replaceable::value, ""); -#endif - -// expected -#if TEST_STD_VER >= 23 -static_assert(std::__is_replaceable >::value); -static_assert(!std::__is_replaceable>::value); -static_assert(!std::__is_replaceable>::value); -static_assert(!std::__is_replaceable>::value); -#endif - -// locale -#ifndef TEST_HAS_NO_LOCALIZATION -static_assert(std::__is_replaceable::value, ""); -#endif - -// optional -#if TEST_STD_VER >= 17 -static_assert(std::__is_replaceable>::value, ""); -static_assert(!std::__is_replaceable>::value, ""); -#endif - -// pair -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); - -// shared_ptr -static_assert(std::__is_replaceable >::value, ""); - -// tuple -#if TEST_STD_VER >= 11 -static_assert(std::__is_replaceable >::value, ""); - -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); - -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -#endif // TEST_STD_VER >= 11 - -// unique_ptr -struct NonReplaceableDeleter { - NonReplaceableDeleter(const NonReplaceableDeleter&); - NonReplaceableDeleter& operator=(const NonReplaceableDeleter&); - ~NonReplaceableDeleter(); - - template - void operator()(T*); -}; - -struct NonReplaceablePointer { - struct pointer { - pointer(const pointer&); - pointer& operator=(const pointer&); - ~pointer(); - }; - - template - void operator()(T*); -}; - -static_assert(std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); - -// variant -#if TEST_STD_VER >= 17 -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); - -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable >::value, ""); -#endif // TEST_STD_VER >= 17 - -// vector -static_assert(std::__is_replaceable >::value, ""); -static_assert(std::__is_replaceable >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(!std::__is_replaceable > >::value, ""); -static_assert(std::__is_replaceable > >::value, ""); -static_assert(std::__is_replaceable > >::value, ""); - -// weak_ptr -static_assert(std::__is_replaceable >::value, ""); - -// TODO: Mark all the replaceable STL types as such diff --git a/libcxx/test/libcxx-03/utilities/function.objects/refwrap/desugars_to.compile.pass.cpp b/libcxx/test/libcxx-03/utilities/function.objects/refwrap/desugars_to.compile.pass.cpp deleted file mode 100644 index 1ce88feeadf28..0000000000000 --- a/libcxx/test/libcxx-03/utilities/function.objects/refwrap/desugars_to.compile.pass.cpp +++ /dev/null @@ -1,36 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME - -// This test requires variable templates -// UNSUPPORTED: gcc && c++11 - -// - -// reference_wrapper - -// Ensure that std::reference_wrapper does not inhibit optimizations based on the -// std::__desugars_to internal helper. - -#include -#include <__type_traits/desugars_to.h> - -struct Operation {}; -struct Tag {}; - -namespace std { -template <> -bool const __desugars_to_v = true; -} - -static_assert(std::__desugars_to_v, "something is wrong with the test"); - -// make sure we pass through reference_wrapper -static_assert(std::__desugars_to_v >, ""); -static_assert(std::__desugars_to_v >, ""); diff --git a/libcxx/test/libcxx-03/utilities/meta/is_referenceable.compile.pass.cpp b/libcxx/test/libcxx-03/utilities/meta/is_referenceable.compile.pass.cpp index 0991de69b5baf..093bbae289723 100644 --- a/libcxx/test/libcxx-03/utilities/meta/is_referenceable.compile.pass.cpp +++ b/libcxx/test/libcxx-03/utilities/meta/is_referenceable.compile.pass.cpp @@ -14,8 +14,6 @@ // or a ref-qualifier, or a reference type. // -// XFAIL: FROZEN-CXX03-HEADERS-FIXME - #include #include @@ -23,170 +21,170 @@ struct Foo {}; -static_assert((!std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); // Functions without cv-qualifiers are referenceable -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); -static_assert((!std::__is_referenceable_v), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); +static_assert((!std::__libcpp_is_referenceable::value), ""); #endif // member functions with or without cv-qualifiers are referenceable -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #if TEST_STD_VER >= 11 -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); -static_assert((std::__is_referenceable_v), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); +static_assert((std::__libcpp_is_referenceable::value), ""); #endif