Home
last modified time | relevance | path

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

/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/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/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/perfetto/include/perfetto/base/
Dutils.h71 std::is_trivially_constructible<T>::value
/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/protozero/
Dmessage.cc42 static_assert(std::is_trivially_constructible<Message>::value, in Reset()
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc98 static_assert(std::is_trivially_constructible<MetadataPage>::value, in ~SharedRingBuffer()