Searched refs:has_trivial_copy (Results 1 – 4 of 4) sorted by relevance
84 template<> struct has_trivial_copy<C> : true_type { }; struct412 EXPECT_TRUE(has_trivial_copy<bool>::value); in TEST()413 EXPECT_TRUE(has_trivial_copy<char>::value); in TEST()414 EXPECT_TRUE(has_trivial_copy<unsigned char>::value); in TEST()415 EXPECT_TRUE(has_trivial_copy<signed char>::value); in TEST()416 EXPECT_TRUE(has_trivial_copy<wchar_t>::value); in TEST()417 EXPECT_TRUE(has_trivial_copy<int>::value); in TEST()418 EXPECT_TRUE(has_trivial_copy<unsigned int>::value); in TEST()419 EXPECT_TRUE(has_trivial_copy<short>::value); in TEST()420 EXPECT_TRUE(has_trivial_copy<unsigned short>::value); in TEST()[all …]
80 template <class T> struct has_trivial_copy;236 template <class T> struct has_trivial_copy : is_pod<T> { };237 template <class T, class U> struct has_trivial_copy<std::pair<T, U> >239 (has_trivial_copy<T>::value &&240 has_trivial_copy<U>::value)> { };241 template <class A, int N> struct has_trivial_copy<A[N]>242 : has_trivial_copy<A> { };243 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();
226 bool HasTrivialCopy = has_trivial_copy<Element>::value>