Home
last modified time | relevance | path

Searched refs:is_copy_constructible (Results 1 – 25 of 66) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/array.cons/
H A Dimplicit_copy.pass.cpp44 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
51 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
59 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
67 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
75 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
82 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
92 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
99 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
106 static_assert(std::is_copy_constructible<Array>::value, ""); in tests()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
H A Dtrivial_copy_move_ABI.pass.cpp29 && (!std::is_copy_constructible<T>::value || std::is_trivially_copy_constructible<T>::value)
78 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
90 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
98 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
106 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
114 static_assert(!std::is_copy_constructible<P>::value, ""); in test_trivial()
122 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
130 static_assert(!std::is_copy_constructible<P>::value, ""); in test_trivial()
H A Dnon_trivial_copy_move_ABI.pass.cpp32 || (std::is_copy_constructible<T>::value && !std::is_trivially_copy_constructible<T>::value)
81 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
93 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
101 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
109 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
117 static_assert(!std::is_copy_constructible<P>::value, ""); in test_trivial()
125 static_assert(std::is_copy_constructible<P>::value, ""); in test_trivial()
133 static_assert(!std::is_copy_constructible<P>::value, ""); in test_trivial()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dcopy.h79 __enable_if_t<!(is_copy_constructible<_InIter>::value
80 && is_copy_constructible<_Sent>::value
81 && is_copy_constructible<_OutIter>::value), int> = 0 >
88 __enable_if_t<is_copy_constructible<_InIter>::value
89 && is_copy_constructible<_Sent>::value
90 && is_copy_constructible<_OutIter>::value, int> = 0>
H A Dmove.h93 __enable_if_t<is_copy_constructible<_InIter>::value
94 && is_copy_constructible<_Sent>::value
95 && is_copy_constructible<_OutIter>::value, pair<_InIter, _OutIter> >
104 __enable_if_t<!is_copy_constructible<_InIter>::value
105 || !is_copy_constructible<_Sent>::value
106 || !is_copy_constructible<_OutIter>::value, pair<_InIter, _OutIter> >
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dcopy.pass.cpp56 static_assert(std::is_copy_constructible<NTCopy>::value, "");
107 static_assert(std::is_copy_constructible<V>::value, ""); in test_copy_ctor_sfinae()
111 static_assert(!std::is_copy_constructible<V>::value, ""); in test_copy_ctor_sfinae()
115 static_assert(!std::is_copy_constructible<V>::value, ""); in test_copy_ctor_sfinae()
119 static_assert(!std::is_copy_constructible<V>::value, ""); in test_copy_ctor_sfinae()
131 static_assert(std::is_copy_constructible<V>::value, ""); in test_copy_ctor_sfinae()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_copy_constructible.h25 struct _LIBCPP_TEMPLATE_VIS is_copy_constructible struct
31 inline constexpr bool is_copy_constructible_v = is_copy_constructible<_Tp>::value;
/llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.generic/
H A Dcopy_semantics_traits.pass.cpp37 static_assert(!std::is_copy_constructible<std::atomic<int> >::value, ""); in main()
40 static_assert(!std::is_copy_constructible<std::atomic<int*> >::value, ""); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dtrivial_copy_move.pass.cpp30 static_assert(std::is_copy_constructible<P>::value, ""); in main()
44 static_assert(!std::is_copy_constructible<P1>::value, ""); in main()
H A Dspecial_member_generation_test.pass.cpp37 static_assert(std::is_copy_constructible<P1>::value == CanCopy, ""); in test()
39 static_assert(std::is_copy_constructible<P2>::value == CanCopy, ""); in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
H A Dis_copy_constructible.pass.cpp19 static_assert( std::is_copy_constructible<T>::value, ""); in test_is_copy_constructible()
28 static_assert(!std::is_copy_constructible<T>::value, ""); in test_is_not_copy_constructible()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A Dtype_traits.h99 : std::is_copy_constructible<
144 std::is_copy_constructible<detail::trivial_helper<T>>::value;
146 !std::is_copy_constructible<T>::value;
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
H A DPR23256_constrain_UTypes_ctor.pass.cpp68 static_assert(std::is_copy_constructible<std::tuple<A>>::value, ""); in main()
70 static_assert(std::is_copy_constructible<std::tuple<ExplicitA>>::value, ""); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.bind_front/
H A Dbind_front.pass.cpp332 static_assert(!std::is_copy_constructible<RetT>::value); in test()
353 static_assert( std::is_copy_constructible<RetT>::value); in test()
362 static_assert(std::is_copy_constructible<RetT>::value); in test()
371 static_assert(!std::is_copy_constructible<RetT>::value); in test()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/func.bind.partial/
H A Dbind_back.pass.cpp335 static_assert(!std::is_copy_constructible<RetT>::value); in test()
356 static_assert( std::is_copy_constructible<RetT>::value); in test()
365 static_assert(std::is_copy_constructible<RetT>::value); in test()
374 static_assert(!std::is_copy_constructible<RetT>::value); in test()
/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
H A Dctor_copy.pass.cpp34 static_assert(!std::is_copy_constructible<Myconv>::value, ""); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.hash/
H A Dhash.pass.cpp48 static_assert(std::is_copy_constructible<H>::value, ""); in test_hash_variant()
104 static_assert(std::is_copy_constructible<H>::value, ""); in test_hash_monostate()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Dcopy.pass.cpp110 static_assert(!std::is_copy_constructible<std::optional<T&&>>::value, ""); in test_reference_extension()
111 static_assert(!std::is_copy_constructible<std::optional<T const&&>>::value, ""); in test_reference_extension()
/llvm-project-15.0.7/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/
H A Dostream_joiner.op.assign.pass.cpp59 …static_assert((std::is_copy_constructible<Joiner>::value == std::is_copy_constructible<typename st… in test()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/
H A Dcopy.pass.cpp27 static_assert(std::is_copy_constructible<path>::value, ""); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.not_fn/
H A Dnot_fn.pass.cpp95 static_assert(!std::is_copy_constructible<RetT>::value, ""); in constructor_tests()
116 static_assert(std::is_copy_constructible<RetT>::value, ""); in constructor_tests()
141 static_assert(std::is_copy_constructible<RetT>::value, ""); in constructor_tests()
153 static_assert(!std::is_copy_constructible<RetT>::value, ""); in constructor_tests()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/unord.hash/
H A Dnon_enum.pass.cpp29 static_assert(!std::is_copy_constructible<H>::value, ""); in main()
/llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
H A Dcopy.pass.cpp30 std::is_copy_constructible<A1>::value, "" in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
H A Dcopy.pass.cpp33 static_assert(std::is_copy_constructible<D>::value, ""); in TEST_CASE()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dmove.h31 …typename conditional<!is_nothrow_move_constructible<_Tp>::value && is_copy_constructible<_Tp>::val…

123