Home
last modified time | relevance | path

Searched refs:has_trivial_assign (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc105 template<> struct has_trivial_assign<D> : true_type { }; struct
458 EXPECT_TRUE(has_trivial_assign<bool>::value); in TEST()
459 EXPECT_TRUE(has_trivial_assign<char>::value); in TEST()
460 EXPECT_TRUE(has_trivial_assign<unsigned char>::value); in TEST()
461 EXPECT_TRUE(has_trivial_assign<signed char>::value); in TEST()
462 EXPECT_TRUE(has_trivial_assign<wchar_t>::value); in TEST()
463 EXPECT_TRUE(has_trivial_assign<int>::value); in TEST()
464 EXPECT_TRUE(has_trivial_assign<unsigned int>::value); in TEST()
465 EXPECT_TRUE(has_trivial_assign<short>::value); in TEST()
466 EXPECT_TRUE(has_trivial_assign<unsigned short>::value); in TEST()
[all …]
Dtype_traits.h101 template <class T> struct has_trivial_assign;
276 template <class T> struct has_trivial_assign : is_pod<T> { };
277 template <class T, class U> struct has_trivial_assign<std::pair<T, U> >
279 (has_trivial_assign<T>::value &&
280 has_trivial_assign<U>::value)> { };
281 template <class A, int N> struct has_trivial_assign<A[N]>
282 : has_trivial_assign<A> { };
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp18 #if __has_feature(has_trivial_assign)
19 int has_trivial_assign();