Home
last modified time | relevance | path

Searched refs:VariantAllowsNarrowingConversions (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dconv.pass.cpp29 …ssert(std::is_assignable<std::variant<char>, int>::value == VariantAllowsNarrowingConversions, ""); in main()
31 …assignable<std::variant<std::string, float>, int>::value == VariantAllowsNarrowingConversions, ""); in main()
32 …ssignable<std::variant<std::string, double>, int>::value == VariantAllowsNarrowingConversions, ""); in main()
DT.pass.cpp143 static_assert(std::is_assignable<V, int>::value == VariantAllowsNarrowingConversions, in test_T_assignment_sfinae()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dconv.pass.cpp28 …rt(std::is_constructible<std::variant<char>, int>::value == VariantAllowsNarrowingConversions, ""); in main()
30 …structible<std::variant<std::string, float>, int>::value == VariantAllowsNarrowingConversions, ""); in main()
31 …tructible<std::variant<std::string, double>, int>::value == VariantAllowsNarrowingConversions, ""); in main()
DT.pass.cpp77 static_assert(std::is_constructible<V, int>::value == VariantAllowsNarrowingConversions, in test_T_ctor_sfinae()
/external/llvm-project/libcxx/test/support/
Dvariant_test_helpers.h29 constexpr bool VariantAllowsNarrowingConversions = true; variable
31 constexpr bool VariantAllowsNarrowingConversions = false; variable