Searched refs:has_trivial_copy (Results 1 – 4 of 4) sorted by relevance
87 template<> struct has_trivial_copy<C> : true_type { }; struct415 EXPECT_TRUE(has_trivial_copy<bool>::value); in TEST()416 EXPECT_TRUE(has_trivial_copy<char>::value); in TEST()417 EXPECT_TRUE(has_trivial_copy<unsigned char>::value); in TEST()418 EXPECT_TRUE(has_trivial_copy<signed char>::value); in TEST()419 EXPECT_TRUE(has_trivial_copy<wchar_t>::value); in TEST()420 EXPECT_TRUE(has_trivial_copy<int>::value); in TEST()421 EXPECT_TRUE(has_trivial_copy<unsigned int>::value); in TEST()422 EXPECT_TRUE(has_trivial_copy<short>::value); in TEST()423 EXPECT_TRUE(has_trivial_copy<unsigned short>::value); in TEST()[all …]
100 template <class T> struct has_trivial_copy;263 template <class T> struct has_trivial_copy : is_pod<T> { };264 template <class T, class U> struct has_trivial_copy<std::pair<T, U> >266 (has_trivial_copy<T>::value &&267 has_trivial_copy<U>::value)> { };268 template <class A, int N> struct has_trivial_copy<A[N]>269 : has_trivial_copy<A> { };270 template <class T> struct has_trivial_copy<const T> : has_trivial_copy<T> { };
23 #if __has_feature(has_trivial_copy)24 int has_trivial_copy();
309 bool HasTrivialCopy = has_trivial_copy<Element>::value>