Home
last modified time | relevance | path

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

/external/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()
26 static_assert(( std::is_trivially_constructible<T, A0>::value), ""); in test_is_trivially_constructible()
32 static_assert((!std::is_trivially_constructible<T>::value), ""); in test_is_not_trivially_constructible()
38 static_assert((!std::is_trivially_constructible<T, A0>::value), ""); in test_is_not_trivially_constructible()
44 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.cpp1986 struct is_trivially_constructible { struct
1991 { int arr[T((is_trivially_constructible<int>::value))]; } in is_trivially_constructible_test()
1992 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
1993 { int arr[T((is_trivially_constructible<int, float>::value))]; } in is_trivially_constructible_test()
1994 { int arr[T((is_trivially_constructible<int, int&>::value))]; } in is_trivially_constructible_test()
1995 { int arr[T((is_trivially_constructible<int, const int&>::value))]; } in is_trivially_constructible_test()
1996 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
1997 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign>::value))]; } in is_trivially_constructible_test()
1998 { int arr[T((is_trivially_constructible<HasCopyAssign, const HasCopyAssign&>::value))]; } in is_trivially_constructible_test()
1999 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign&&>::value))]; } in is_trivially_constructible_test()
[all …]
/external/libcxx/include/
Dtype_traits105 template <class T, class... Args> struct is_trivially_constructible;
2673 // is_trivially_constructible
2677 #if __has_feature(is_trivially_constructible)
2680 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible
2685 #else // !__has_feature(is_trivially_constructible)
2688 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible
2694 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible<_Tp>
2705 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible<_Tp, _Tp&&>
2707 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible<_Tp, _Tp>
2714 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible<_Tp, const _Tp&>
[all …]
/external/libcxx/include/experimental/
Dtype_traits114 = is_trivially_constructible<T, Args...>::value;
328 = is_trivially_constructible<_Tp, _Ts...>::value;