Home
last modified time | relevance | path

Searched refs:false_type (Results 1 – 25 of 218) sorted by relevance

123456789

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.logical/
H A Dconjunction.compile.pass.cpp42 static_assert(!std::conjunction<std::false_type, std::false_type>::value);
47 static_assert(!std::conjunction_v<std::false_type, std::false_type>);
52 static_assert(!std::conjunction<std::false_type, std::false_type, std::true_type >::value);
54 static_assert(!std::conjunction<std::true_type, std::false_type, std::false_type>::value);
55 static_assert(!std::conjunction<std::false_type, std::true_type, std::false_type>::value);
56 static_assert(!std::conjunction<std::false_type, std::false_type, std::false_type>::value);
61 static_assert(!std::conjunction_v<std::false_type, std::false_type, std::true_type >);
63 static_assert(!std::conjunction_v<std::true_type, std::false_type, std::false_type>);
64 static_assert(!std::conjunction_v<std::false_type, std::true_type, std::false_type>);
65 static_assert(!std::conjunction_v<std::false_type, std::false_type, std::false_type>);
[all …]
H A Ddisjunction.compile.pass.cpp37 static_assert(!std::disjunction_v<std::false_type>);
42 static_assert(!std::disjunction<std::false_type, std::false_type>::value);
47 static_assert(!std::disjunction_v<std::false_type, std::false_type>);
52 static_assert( std::disjunction<std::false_type, std::false_type, std::true_type >::value);
54 static_assert( std::disjunction<std::true_type, std::false_type, std::false_type>::value);
55 static_assert( std::disjunction<std::false_type, std::true_type, std::false_type>::value);
56 static_assert(!std::disjunction<std::false_type, std::false_type, std::false_type>::value);
61 static_assert( std::disjunction_v<std::false_type, std::false_type, std::true_type >);
63 static_assert( std::disjunction_v<std::true_type, std::false_type, std::false_type>);
64 static_assert( std::disjunction_v<std::false_type, std::true_type, std::false_type>);
[all …]
H A Dnegation.pass.cpp27 static_assert ( std::negation<std::false_type>::value, "" ); in main()
30 static_assert ( std::negation_v<std::false_type>, "" ); in main()
39 static_assert (!std::negation<std::negation<std::false_type>>::value, "" ); in main()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_convertible.h39 struct __is_convertible_test : public false_type {};
77 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 0, 1> : public false_type {};
78 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 1, 1> : public false_type {};
79 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 2, 1> : public false_type {};
80 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 3, 1> : public false_type {};
82 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 0, 2> : public false_type {};
83 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 1, 2> : public false_type {};
84 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 2, 2> : public false_type {};
85 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 3, 2> : public false_type {};
87 template <class _T1, class _T2> struct __is_convertible<_T1, _T2, 0, 3> : public false_type {};
[all …]
H A Dis_destructible.h55 static false_type __test (...);
79 struct __destructible_false<_Tp, true> : public false_type {};
87 : public false_type {};
91 : public false_type {};
H A Dis_reference.h45 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : public false_type {};
48 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_rvalue_reference : public false_type {};
51 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_reference : public false_type {};
H A Dis_referenceable.h24 template <class _Tp> static false_type __test(...);
29 _IsNotSame<decltype(__is_referenceable_impl::__test<_Tp>(0)), false_type>::value> {};
H A Dis_unbounded_array.h21 template <class> struct _LIBCPP_TEMPLATE_VIS __libcpp_is_unbounded_array : false_type {};
26 template <class> struct _LIBCPP_TEMPLATE_VIS is_unbounded_array : false_type {};
H A Dis_bounded_array.h22 …s> struct _LIBCPP_TEMPLATE_VIS __libcpp_is_bounded_array : false_type {};
27 …ate <class> struct _LIBCPP_TEMPLATE_VIS is_bounded_array : false_type {};
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DSTLForwardCompatTest.cpp15 EXPECT_TRUE((llvm::negation<std::false_type>::value)); in TEST()
23 EXPECT_FALSE((llvm::conjunction<std::false_type>::value)); in TEST()
25 EXPECT_FALSE((llvm::conjunction<std::false_type, incomplete_type>::value)); in TEST()
26 EXPECT_FALSE((llvm::conjunction<std::false_type, std::true_type>::value)); in TEST()
27 EXPECT_FALSE((llvm::conjunction<std::true_type, std::false_type>::value)); in TEST()
35 EXPECT_FALSE((llvm::disjunction<std::false_type>::value)); in TEST()
38 EXPECT_TRUE((llvm::disjunction<std::false_type, std::true_type>::value)); in TEST()
39 EXPECT_TRUE((llvm::disjunction<std::true_type, std::false_type>::value)); in TEST()
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.help/
H A Dintegral_constant.pass.cpp35 static_assert(std::false_type::value == false, ""); in main()
36 static_assert((std::is_same<std::false_type::value_type, bool>::value), ""); in main()
37 static_assert((std::is_same<std::false_type::type, std::false_type>::value), ""); in main()
43 std::false_type f1; in main()
44 std::false_type f2 = f1; in main()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/meta/stress_tests/
H A Dstress_test_metafunctions.sh.cpp32 using std::false_type;
34 #define FALSE_T() std::false_type,
52 void Foo3(TEST_AND < REPEAT_1000(TRUE_T) true_type, false_type > t3) { sink(&t3); } in Foo3()
53 void Foo4(TEST_AND < REPEAT_1000(TRUE_T) REPEAT_1000(TRUE_T) true_type, false_type > t4) { sink(&t4… in Foo4()
54 void Foo5(TEST_AND < false_type, REPEAT_1000(TRUE_T) true_type > t5) { sink(&t5); } in Foo5() argument
55 void Foo6(TEST_AND < false_type, REPEAT_1000(TRUE_T) REPEAT_1000(TRUE_T) true_type > t6) { sink(&t6… in Foo6() argument
/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dalgorithm_fwd.h33 /*__is_vector=*/std::false_type) noexcept;
56 /*vector=*/std::false_type) noexcept;
205 /* is_vector = */ std::false_type) noexcept;
224 /* is_vector = */ std::false_type) noexcept;
344 /*vector=*/std::false_type) noexcept;
424 /*vector=*/std::false_type) noexcept;
433 /*vector=*/std::false_type) noexcept;
525 /*vector=*/std::false_type) noexcept;
552 /*is_vector=*/std::false_type) noexcept;
827 /* __is_vector = */ std::false_type) noexcept;
[all …]
H A Dnumeric_impl.h38 /*is_vector=*/std::false_type) noexcept in __brick_transform_reduce() argument
102 _UnaryOperation __unary_op, /*is_vector=*/std::false_type) noexcept in __brick_transform_reduce() argument
161 /*Inclusive*/ std::false_type, /*is_vector=*/std::false_type) noexcept in __brick_transform_scan() argument
177 /*Inclusive*/ std::true_type, /*is_vector=*/std::false_type) noexcept in __brick_transform_scan() argument
208 /*is_vector=*/std::false_type()); in __brick_transform_scan()
220 /*is_vector=*/std::false_type()); in __brick_transform_scan()
258 /*__is_vector*/ std::false_type()); in __pattern_transform_scan()
320 _BinaryOperation __op, /*is_vector*/ std::false_type) noexcept in __brick_adjacent_difference() argument
/llvm-project-15.0.7/libcxx/test/support/
H A Dcharconv_test_helpers.h25 using std::false_type;
37 is_non_narrowing(...) -> false_type
51 _fits_in(T v, false_type, true_type /* T signed*/, true_type /* X signed */) in _fits_in() argument
58 _fits_in(T v, false_type, true_type /* T signed */, false_type /* X unsigned*/) in _fits_in() argument
65 _fits_in(T v, false_type, false_type /* T unsigned */, ...) in _fits_in() argument
144 static unsigned long long fromchars_impl(char const* p, char const* ep, int base, false_type) in fromchars_impl()
172 static __uint128_t fromchars128_impl(char const* p, char const* ep, int base, false_type) in fromchars128_impl()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dint-ptr-cast-SFINAE.cpp10 struct false_type { static const bool value = false; }; struct
16 typename select<(sizeof(declval<T>() -= declval<T>(), 1) != 1), true_type, false_type>::type test(.…
17 template<typename T> false_type test(...);
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector.bool/
H A Dmove_assign_noexcept.pass.cpp42 typedef std::false_type propagate_on_container_move_assignment;
55 typedef std::false_type propagate_on_container_move_assignment;
56 typedef std::false_type is_always_equal;
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.cons/
H A Dmove_assign_noexcept.pass.cpp47 typedef std::false_type propagate_on_container_move_assignment;
61 typedef std::false_type propagate_on_container_move_assignment;
62 typedef std::false_type is_always_equal;
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dmove_assign_noexcept.pass.cpp45 typedef std::false_type propagate_on_container_move_assignment;
59 typedef std::false_type propagate_on_container_move_assignment;
60 typedef std::false_type is_always_equal;
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dallocator_traits.h30 template <class _Tp, class = void> struct NAME : false_type { }; \
117 struct __propagate_on_container_copy_assignment : false_type { };
126 struct __propagate_on_container_move_assignment : false_type { };
135 struct __propagate_on_container_swap : false_type { };
153 struct __has_rebind_other : false_type { };
180 struct __has_allocate_hint : false_type { };
189 struct __has_construct_impl : false_type { };
201 struct __has_destroy : false_type { };
210 struct __has_max_size : false_type { };
219 struct __has_select_on_container_copy_construction : false_type { };
[all …]
/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dmodules-pruning.cpp34 struct false_type { struct
41 template <class T> struct is_reference : false_type {};
/llvm-project-15.0.7/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/
H A Dpropagate_on_container_swap.pass.cpp28 std::false_type>::value), ""); in main()
32 std::false_type>::value), ""); in main()
H A Dpropagate_on_container_copy_assignment.pass.cpp28 std::false_type>::value), ""); in main()
32 std::false_type>::value), ""); in main()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/
H A Dintegral_constant.h12 using false_type = integral_constant<bool, false>; variable
16 struct is_same : false_type {};
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Dpropagate_on_container_swap.pass.cpp48 …s_same<std::allocator_traits<B<char> >::propagate_on_container_swap, std::false_type>::value), ""); in main()
50 …s_same<std::allocator_traits<C<char> >::propagate_on_container_swap, std::false_type>::value), ""); in main()

123456789