Home
last modified time | relevance | path

Searched refs:is_trivially_constructible (Results 1 – 25 of 26) sorted by relevance

12

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_trivially_constructible.pass.cpp21 static_assert(( std::is_trivially_constructible<T>::value), ""); in test_is_trivially_constructible()
30 static_assert(( std::is_trivially_constructible<T, A0>::value), ""); in test_is_trivially_constructible()
39 static_assert((!std::is_trivially_constructible<T>::value), ""); in test_is_not_trivially_constructible()
48 static_assert((!std::is_trivially_constructible<T, A0>::value), ""); in test_is_not_trivially_constructible()
57 static_assert((!std::is_trivially_constructible<T, A0, A1>::value), ""); in test_is_not_trivially_constructible()
/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_trivially_constructible.pass.cpp20 static_assert(( std::is_trivially_constructible<T>::value), ""); in test_is_trivially_constructible()
29 static_assert(( std::is_trivially_constructible<T, A0>::value), ""); in test_is_trivially_constructible()
38 static_assert((!std::is_trivially_constructible<T>::value), ""); in test_is_not_trivially_constructible()
47 static_assert((!std::is_trivially_constructible<T, A0>::value), ""); in test_is_not_trivially_constructible()
56 static_assert((!std::is_trivially_constructible<T, A0, A1>::value), ""); in test_is_not_trivially_constructible()
/external/llvm-project/llvm/include/llvm/ADT/
Dbit.h28 #if (__has_feature(is_trivially_constructible) && defined(_LIBCPP_VERSION)) || \
31 typename = std::enable_if_t<std::is_trivially_constructible<To>::value>
32 #elif __has_feature(is_trivially_constructible)
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
Dbit.h27 #if (__has_feature(is_trivially_constructible) && defined(_LIBCPP_VERSION)) || \
29 , typename = typename std::is_trivially_constructible<To>::type
30 #elif __has_feature(is_trivially_constructible)
/external/llvm-project/clang/test/PCH/
Dcxx-traits.cpp14 bool default_construct_int = n::is_trivially_constructible<int>::value;
15 bool copy_construct_int = n::is_trivially_constructible<int, const int&>::value;
Dcxx-traits.h16 struct is_trivially_constructible { struct
/external/clang/test/PCH/
Dcxx-traits.cpp14 bool default_construct_int = n::is_trivially_constructible<int>::value;
15 bool copy_construct_int = n::is_trivially_constructible<int, const int&>::value;
Dcxx-traits.h16 struct is_trivially_constructible { struct
/external/llvm-project/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
Dempty_tuple_trivial.pass.cpp18 static_assert(std::is_trivially_constructible<std::tuple<>>::value, "");
/external/clang/test/SemaCXX/
Dtype-traits.cpp2055 struct is_trivially_constructible { struct
2060 { int arr[T((is_trivially_constructible<int>::value))]; } in is_trivially_constructible_test()
2061 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
2062 { int arr[T((is_trivially_constructible<int, float>::value))]; } in is_trivially_constructible_test()
2063 { int arr[T((is_trivially_constructible<int, int&>::value))]; } in is_trivially_constructible_test()
2064 { int arr[T((is_trivially_constructible<int, const int&>::value))]; } in is_trivially_constructible_test()
2065 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
2066 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign>::value))]; } in is_trivially_constructible_test()
2067 { int arr[T((is_trivially_constructible<HasCopyAssign, const HasCopyAssign&>::value))]; } in is_trivially_constructible_test()
2068 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign&&>::value))]; } in is_trivially_constructible_test()
[all …]
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dwaiter.cc329 static_assert(std::is_trivially_constructible<SRWLOCK>::value,
332 std::is_trivially_constructible<CONDITION_VARIABLE>::value,
/external/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc385 static_assert(std::is_trivially_constructible<SRWLOCK>::value,
388 std::is_trivially_constructible<CONDITION_VARIABLE>::value,
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc393 static_assert(std::is_trivially_constructible<SRWLOCK>::value,
396 std::is_trivially_constructible<CONDITION_VARIABLE>::value,
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc385 static_assert(std::is_trivially_constructible<SRWLOCK>::value,
388 std::is_trivially_constructible<CONDITION_VARIABLE>::value,
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc393 static_assert(std::is_trivially_constructible<SRWLOCK>::value,
396 std::is_trivially_constructible<CONDITION_VARIABLE>::value,
/external/llvm-project/clang/test/SemaCXX/
Dtype-traits.cpp2323 struct is_trivially_constructible { struct
2328 { int arr[T((is_trivially_constructible<int>::value))]; } in is_trivially_constructible_test()
2329 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
2330 { int arr[T((is_trivially_constructible<int, float>::value))]; } in is_trivially_constructible_test()
2331 { int arr[T((is_trivially_constructible<int, int&>::value))]; } in is_trivially_constructible_test()
2332 { int arr[T((is_trivially_constructible<int, const int&>::value))]; } in is_trivially_constructible_test()
2333 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
2334 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign>::value))]; } in is_trivially_constructible_test()
2335 { int arr[T((is_trivially_constructible<HasCopyAssign, const HasCopyAssign&>::value))]; } in is_trivially_constructible_test()
2336 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign&&>::value))]; } in is_trivially_constructible_test()
[all …]
/external/perfetto/src/protozero/
Dmessage.cc50 static_assert(std::is_trivially_constructible<Message>::value, in Reset()
/external/libcxx/include/
Dtype_traits117 template <class T, class... Args> struct is_trivially_constructible;
327 = is_trivially_constructible<T, Args...>::value; // C++17
3438 // is_trivially_constructible
3442 #if __has_feature(is_trivially_constructible) || _GNUC_VER >= 501
3445 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible
3450 #else // !__has_feature(is_trivially_constructible)
3453 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible
3459 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible<_Tp>
3470 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible<_Tp, _Tp&&>
3472 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible<_Tp, _Tp>
[all …]
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.h180 static_assert(std::is_trivially_constructible<Spinlock>::value,
Dshared_ring_buffer.cc99 static_assert(std::is_trivially_constructible<MetadataPage>::value, in ~SharedRingBuffer()
/external/perfetto/include/perfetto/protozero/
Dproto_decoder.h339 static_assert(std::is_trivially_constructible<Field>::value && in TypedProtoDecoderBase()
/external/llvm-project/libcxx/include/
Dtype_traits119 template <class T, class... Args> struct is_trivially_constructible;
338 = is_trivially_constructible<T, Args...>::value; // C++17
3085 // is_trivially_constructible
3087 #if __has_feature(is_trivially_constructible) || _GNUC_VER >= 501
3090 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible
3095 #else // !__has_feature(is_trivially_constructible)
3098 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible
3104 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible<_Tp>
3114 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible<_Tp, _Tp&&>
3120 struct _LIBCPP_TEMPLATE_VIS is_trivially_constructible<_Tp, const _Tp&>
[all …]
/external/llvm-project/clang/include/clang/Basic/
DFeatures.def218 FEATURE(is_trivially_constructible, LangOpts.CPlusPlus)
/external/llvm-project/libcxx/docs/
DCxx1zStatusIssuesStatus.csv81 "`2336 <https://wg21.link/LWG2336>`__","``is_trivially_constructible``\ /``is_trivially_assignable`…
/external/llvm-project/clang/lib/Frontend/
DCompilerInvocation.cpp174 std::is_trivially_constructible<T, uint64_t>::value && in is_int_convertible()
175 std::is_trivially_constructible<uint64_t, T>::value; in is_int_convertible()

12