Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc136 template<> struct has_trivial_destructor<F> : true_type { }; struct
497 EXPECT_TRUE(has_trivial_destructor<bool>::value); in TEST()
498 EXPECT_TRUE(has_trivial_destructor<char>::value); in TEST()
499 EXPECT_TRUE(has_trivial_destructor<unsigned char>::value); in TEST()
500 EXPECT_TRUE(has_trivial_destructor<signed char>::value); in TEST()
501 EXPECT_TRUE(has_trivial_destructor<wchar_t>::value); in TEST()
502 EXPECT_TRUE(has_trivial_destructor<int>::value); in TEST()
503 EXPECT_TRUE(has_trivial_destructor<unsigned int>::value); in TEST()
504 EXPECT_TRUE(has_trivial_destructor<short>::value); in TEST()
505 EXPECT_TRUE(has_trivial_destructor<unsigned short>::value); in TEST()
[all …]
Dtype_traits.h82 template <class T> struct has_trivial_destructor;
262 template <class T> struct has_trivial_destructor : is_pod<T> { };
263 template <class T, class U> struct has_trivial_destructor<std::pair<T, U> >
265 (has_trivial_destructor<T>::value &&
266 has_trivial_destructor<U>::value)> { };
267 template <class A, int N> struct has_trivial_destructor<A[N]>
268 : has_trivial_destructor<A> { };
269 template <class T> struct has_trivial_destructor<const T>
270 : has_trivial_destructor<T> { };
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp33 #if __has_feature(has_trivial_destructor)
34 int has_trivial_destructor();
/external/pcre/dist/
Dpcre_stringpiece.h.in171 typedef __true_type has_trivial_destructor;
/external/clang/test/SemaCXX/
Dtype-traits.cpp1380 void has_trivial_destructor() { in has_trivial_destructor() function
/external/libcxx/include/
Dtype_traits2879 #if __has_feature(has_trivial_destructor) || (_GNUC_VER >= 403)