Home
last modified time | relevance | path

Searched refs:is_default_constructible (Results 1 – 22 of 22) sorted by relevance

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_default_constructible.pass.cpp20 static_assert( std::is_default_constructible<T>::value, ""); in test_is_default_constructible()
21 static_assert( std::is_default_constructible<const T>::value, ""); in test_is_default_constructible()
22 static_assert( std::is_default_constructible<volatile T>::value, ""); in test_is_default_constructible()
23 static_assert( std::is_default_constructible<const volatile T>::value, ""); in test_is_default_constructible()
35 static_assert(!std::is_default_constructible<T>::value, ""); in test_is_not_default_constructible()
36 static_assert(!std::is_default_constructible<const T>::value, ""); in test_is_not_default_constructible()
37 static_assert(!std::is_default_constructible<volatile T>::value, ""); in test_is_not_default_constructible()
38 static_assert(!std::is_default_constructible<const volatile T>::value, ""); in test_is_not_default_constructible()
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Ddefault-sfinae.pass.cpp45 using DependantIsDefault = DependantType<std::is_default_constructible<T>, Val>;
68 static_assert(!std::is_default_constructible<P>::value, ""); in test_not_is_default_constructible()
73 static_assert(!std::is_default_constructible<P>::value, ""); in test_not_is_default_constructible()
78 static_assert(!std::is_default_constructible<P>::value, ""); in test_not_is_default_constructible()
88 static_assert(std::is_default_constructible<P>::value, ""); in test_is_default_constructible()
92 static_assert(std::is_default_constructible<P>::value, ""); in test_is_default_constructible()
96 static_assert(std::is_default_constructible<P>::value, ""); in test_is_default_constructible()
Ddefault.pass.cpp50 static_assert(!std::is_default_constructible<P>::value, ""); in main()
52 static_assert(!std::is_default_constructible<P2>::value, ""); in main()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Ddefault.pass.cpp43 static_assert(std::is_default_constructible<V>::value, ""); in test_default_ctor_sfinae()
47 static_assert(!std::is_default_constructible<V>::value, ""); in test_default_ctor_sfinae()
52 static_assert(!std::is_default_constructible<V>::value, ""); in test_default_ctor_sfinae()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Ddefault.pass.cpp77 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), ""); in main()
78 static_assert(!std::is_default_constructible<std::tuple<DefaultOnly, NoDefault>>(), ""); in main()
79 …static_assert(!std::is_default_constructible<std::tuple<NoDefault, DefaultOnly, NoDefault>>(), ""); in main()
Dmove.pass.cpp58 static_assert(std::is_default_constructible<Tup>::value, ""); in test_sfinae()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/
Ddefault.pass.cpp32 static_assert(!std::is_default_constructible<R>::value, ""); in main()
37 static_assert(std::is_default_constructible<R>::value, ""); in main()
/external/v8/testing/gmock_custom/gmock/internal/custom/
Dgmock-port.h24 using is_default_constructible = std::is_constructible<T>; variable
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.prop.pass.cpp201 … static_assert(ex::is_default_constructible_v<T> == std::is_default_constructible<T>::value, ""); in is_constructible_and_assignable_test()
206 … static_assert(ex::is_default_constructible_v<T> == std::is_default_constructible<T>::value, ""); in is_constructible_and_assignable_test()
295 …static_assert(ex::is_trivially_default_constructible_v<T> == std::is_default_constructible<T>::val… in is_trivially_constructible_and_assignable_test()
300 …static_assert(ex::is_trivially_default_constructible_v<T> == std::is_default_constructible<T>::val… in is_trivially_constructible_and_assignable_test()
391 …static_assert(ex::is_nothrow_default_constructible_v<T> == std::is_default_constructible<T>::value… in is_nothrow_constructible_and_assignable_test()
396 …static_assert(ex::is_nothrow_default_constructible_v<T> == std::is_default_constructible<T>::value… in is_nothrow_constructible_and_assignable_test()
/external/libcxx/test/std/utilities/optional/optional.nullopt/
Dnullopt_t.pass.cpp40 static_assert((!std::is_default_constructible<nullopt_t>::value), ""); in main()
/external/libcxx/test/std/experimental/optional/optional.nullopt/
Dnullopt_t.pass.cpp35 static_assert((!std::is_default_constructible<nullopt_t>::value), ""); in main()
/external/libcxx/test/std/utilities/function.objects/unord.hash/
Dnon_enum.pass.cpp29 static_assert(!std::is_default_constructible<H>::value, ""); in main()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.overview/
Doverview.pass.cpp33 static_assert(std::is_default_constructible<R>::value, ""); in main()
/external/libcxx/test/support/
Dpoisoned_hash_helper.hpp136 static_assert(std::is_default_constructible<Hash>::value, ""); in test_hash_enabled()
176 static_assert(!std::is_default_constructible<Hash>::value, ""); in test_hash_disabled()
Duses_alloc_types.hpp155 template <class Alloc, bool = std::is_default_constructible<Alloc>::value>
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h102 return ::std::is_default_constructible<T>::value;
107 T, ::std::is_default_constructible<T>::value>::Get();
/external/v8/testing/gmock/include/gmock/
Dgmock-actions.h102 return ::std::is_default_constructible<T>::value;
107 T, ::std::is_default_constructible<T>::value>::Get();
/external/libcxx/include/experimental/
Dtype_traits100 = is_default_constructible<T>::value;
346 = is_default_constructible<_Tp>::value;
/external/libcxx/include/
Dtuple361 : __all<is_default_constructible<_Tp>::value...>
501 return __all<is_default_constructible<_Args>::value...>::value;
626 __lazy_all<__dependent_type<is_default_constructible<_Tp>, _Dummy>...>
Dutility354 return is_default_constructible<_U1>::value
355 && is_default_constructible<_U2>::value;
1573 is_default_constructible<_Hash>::value
Dtype_traits102 template <class T> struct is_default_constructible;
296 = is_default_constructible<T>::value; // C++17
3216 // is_default_constructible
3219 struct _LIBCPP_TEMPLATE_VIS is_default_constructible
3225 = is_default_constructible<_Tp>::value;
Dvariant1118 enable_if_t<__dependent_type<is_default_constructible<__first_type>,