Home
last modified time | relevance | path

Searched refs:is_nothrow_constructible (Results 1 – 25 of 36) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
H A DU_V.pass.cpp44 …static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, int, int>::value, ""… in main()
45 …static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, int, int>::va… in main()
46 …static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, int, int>::va… in main()
47 …static_assert( std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitNothrowT>, int, i… in main()
50 …static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitT>, int, int>::value, ""… in main()
51 …static_assert(!std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitT>, int, int>::va… in main()
52 …static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitNothrowT>, int, int>::va… in main()
53 …static_assert( std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitNothrowT>, int, i… in main()
H A Drv_pair_U_V.pass.cpp45 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, in main()
47 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, in main()
49 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, in main()
51 static_assert( std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitNothrowT>, in main()
55 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitT>, in main()
57 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitT>, in main()
59 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitNothrowT>, in main()
61 static_assert( std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitNothrowT>, in main()
H A Dconst_first_const_second.pass.cpp44 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, in main()
46 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, in main()
48 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, in main()
50 static_assert( std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitNothrowT>, in main()
54 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitT>, in main()
56 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitT>, in main()
58 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitNothrowT>, in main()
60 static_assert( std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitNothrowT>, in main()
H A Dconst_pair_U_V.pass.cpp46 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitT>, in main()
48 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitT>, in main()
50 static_assert(!std::is_nothrow_constructible<std::pair<ExplicitT, ExplicitNothrowT>, in main()
52 static_assert( std::is_nothrow_constructible<std::pair<ExplicitNothrowT, ExplicitNothrowT>, in main()
56 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitT>, in main()
58 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitT>, in main()
60 static_assert(!std::is_nothrow_constructible<std::pair<ImplicitT, ImplicitNothrowT>, in main()
62 static_assert( std::is_nothrow_constructible<std::pair<ImplicitNothrowT, ImplicitNothrowT>, in main()
H A Dpiecewise.pass.cpp31 static_assert(!std::is_nothrow_constructible<std::pair<ThrowingConvert, ThrowingConvert>, in main()
33 static_assert(!std::is_nothrow_constructible<std::pair<NonThrowingConvert, ThrowingConvert>, in main()
35 static_assert(!std::is_nothrow_constructible<std::pair<ThrowingConvert, NonThrowingConvert>, in main()
37 static_assert( std::is_nothrow_constructible<std::pair<NonThrowingConvert, NonThrowingConvert>, in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
H A Dis_nothrow_constructible.pass.cpp20 static_assert(( std::is_nothrow_constructible<T>::value), ""); in test_is_nothrow_constructible()
29 static_assert(( std::is_nothrow_constructible<T, A0>::value), ""); in test_is_nothrow_constructible()
38 static_assert((!std::is_nothrow_constructible<T>::value), ""); in test_is_not_nothrow_constructible()
47 static_assert((!std::is_nothrow_constructible<T, A0>::value), ""); in test_is_not_nothrow_constructible()
56 static_assert((!std::is_nothrow_constructible<T, A0, A1>::value), ""); in test_is_not_nothrow_constructible()
/llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
H A Dpointer_deleter.pass.cpp112 static_assert(std::is_nothrow_constructible<U, int*, D&>::value, ""); in test_noexcept()
113 static_assert(std::is_nothrow_constructible<U, int*, D&&>::value, ""); in test_noexcept()
118 static_assert(std::is_nothrow_constructible<U, int*, D&&>::value, ""); in test_noexcept()
125 static_assert(std::is_nothrow_constructible<U, int*, D&>::value, ""); in test_noexcept()
131 static_assert(std::is_nothrow_constructible<U, int*, D&>::value, ""); in test_noexcept()
141 static_assert(std::is_nothrow_constructible<U, A*, D const&>::value, ""); in test_sfinae_runtime()
142 static_assert(std::is_nothrow_constructible<U, A*, D&>::value, ""); in test_sfinae_runtime()
143 static_assert(std::is_nothrow_constructible<U, A*, D&&>::value, ""); in test_sfinae_runtime()
158 static_assert(std::is_nothrow_constructible<U, A*, D&&>::value, ""); in test_sfinae_runtime()
181 static_assert(std::is_nothrow_constructible<U, A*, D&>::value, ""); in test_sfinae_runtime()
[all …]
H A Dmove_convert.pass.cpp128 static_assert(std::is_nothrow_constructible<U1C, U1&&>::value, ""); in test_sfinae()
154 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
159 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
164 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
169 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
H A Dmove_convert.single.pass.cpp141 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
146 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
151 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
156 static_assert(std::is_nothrow_constructible<APtr, BPtr>::value, ""); in test_noexcept()
H A Dnullptr.pass.cpp38 static_assert(std::is_nothrow_constructible<U1, decltype(nullptr)>::value, in test_basic()
40 static_assert(std::is_nothrow_constructible<U2, decltype(nullptr)>::value, in test_basic()
H A Dpointer.pass.cpp49 static_assert(std::is_nothrow_constructible<U1, A*>::value, ""); in test_pointer()
50 static_assert(std::is_nothrow_constructible<U2, A*>::value, ""); in test_pointer()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_nothrow_constructible.h25 struct _LIBCPP_TEMPLATE_VIS is_nothrow_constructible struct
54 struct _LIBCPP_TEMPLATE_VIS is_nothrow_constructible
60 struct _LIBCPP_TEMPLATE_VIS is_nothrow_constructible<_Tp[_Ns]>
70 inline constexpr bool is_nothrow_constructible_v = is_nothrow_constructible<_Tp, _Args...>::value;
H A Dis_nothrow_default_constructible.h23 : public is_nothrow_constructible<_Tp>
H A Dis_nothrow_move_constructible.h24 : public is_nothrow_constructible<_Tp, typename add_rvalue_reference<_Tp>::type>
H A Dis_nothrow_copy_constructible.h25 : public is_nothrow_constructible<_Tp,
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/refwrap/refwrap.const/
H A Dtype_ctor.pass.cpp57 static_assert((std::is_nothrow_constructible<Ref, int&>::value), ""); in main()
58 static_assert((!std::is_nothrow_constructible<Ref, int>::value), ""); in main()
59 static_assert((!std::is_nothrow_constructible<Ref, int&&>::value), ""); in main()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dpair.h181 _NOEXCEPT_((is_nothrow_constructible<first_type, _U1>::value && in pair()
182 is_nothrow_constructible<second_type, _U2>::value)) in pair()
195 _NOEXCEPT_((is_nothrow_constructible<first_type, _U1>::value && in pair()
196 is_nothrow_constructible<second_type, _U2>::value)) in pair()
204 _NOEXCEPT_((is_nothrow_constructible<first_type, _U1 const&>::value && in pair()
222 _NOEXCEPT_((is_nothrow_constructible<first_type, _U1&&>::value && in pair()
223 is_nothrow_constructible<second_type, _U2&&>::value)) in pair()
231 _NOEXCEPT_((is_nothrow_constructible<first_type, _U1&&>::value && in pair()
232 is_nothrow_constructible<second_type, _U2&&>::value)) in pair()
255 _NOEXCEPT_((is_nothrow_constructible<first_type, _Args1...>::value && in pair()
[all …]
/llvm-project-15.0.7/libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/
H A Dconstruct.pass.cpp28 static_assert(std::is_nothrow_constructible<C>::value, ""); in do_test()
29 static_assert(std::is_nothrow_constructible<C, std::nullptr_t>::value, ""); in do_test()
/llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
H A Dother_alloc.pass.cpp39 std::is_nothrow_constructible<A1, A2 const &>::value, "" in main()
42 std::is_nothrow_constructible<A2, A1 const &>::value, "" in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.file_status/
H A Dfile_status.cons.pass.cpp42 static_assert(std::is_nothrow_constructible<file_status, file_type>::value, in main()
53 static_assert(std::is_nothrow_constructible<file_status, file_type, perms>::value, in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
H A Dctor.pass.cpp44 static_assert(!std::is_nothrow_constructible<D, path>::value, ""); in TEST_CASE()
49 static_assert(!std::is_nothrow_constructible<D, path, in TEST_CASE()
54 static_assert(!std::is_nothrow_constructible<D, path, directory_options>::value, ""); in TEST_CASE()
58 …static_assert(!std::is_nothrow_constructible<D, path, directory_options, std::error_code&>::value,… in TEST_CASE()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
H A Dctor.pass.cpp40 static_assert(!std::is_nothrow_constructible<D, path>::value, ""); in TEST_CASE()
45 static_assert(!std::is_nothrow_constructible<D, path, in TEST_CASE()
50 static_assert(!std::is_nothrow_constructible<D, path, directory_options>::value, ""); in TEST_CASE()
55 static_assert(!std::is_nothrow_constructible<D, path, directory_options, in TEST_CASE()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Dnullopt_t.pass.cpp30 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test_constexpr()
48 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test()
/llvm-project-15.0.7/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/
H A Dconstruct.pass.cpp36 static_assert(std::is_nothrow_constructible<C, std::nullptr_t>::value, ""); in do_test()
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A DT.pass.cpp49 static_assert(std::is_nothrow_constructible<V, int>::value, ""); in test_T_ctor_noexcept()
53 static_assert(!std::is_nothrow_constructible<V, int>::value, ""); in test_T_ctor_noexcept()

12