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.cpp2012 struct is_trivially_constructible { struct
2017 { int arr[T((is_trivially_constructible<int>::value))]; } in is_trivially_constructible_test()
2018 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
2019 { int arr[T((is_trivially_constructible<int, float>::value))]; } in is_trivially_constructible_test()
2020 { int arr[T((is_trivially_constructible<int, int&>::value))]; } in is_trivially_constructible_test()
2021 { int arr[T((is_trivially_constructible<int, const int&>::value))]; } in is_trivially_constructible_test()
2022 { int arr[T((is_trivially_constructible<int, int>::value))]; } in is_trivially_constructible_test()
2023 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign>::value))]; } in is_trivially_constructible_test()
2024 { int arr[T((is_trivially_constructible<HasCopyAssign, const HasCopyAssign&>::value))]; } in is_trivially_constructible_test()
2025 { int arr[T((is_trivially_constructible<HasCopyAssign, HasCopyAssign&&>::value))]; } in is_trivially_constructible_test()
[all …]
/external/libcxx/include/
Dtype_traits110 template <class T, class... Args> struct is_trivially_constructible;
2700 // is_trivially_constructible
2704 #if __has_feature(is_trivially_constructible) || _GNUC_VER >= 501
2707 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible
2712 #else // !__has_feature(is_trivially_constructible)
2715 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible
2721 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible<_Tp>
2732 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible<_Tp, _Tp&&>
2734 struct _LIBCPP_TYPE_VIS_ONLY is_trivially_constructible<_Tp, _Tp>
2741 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;