Searched defs:has_trivial_copy (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/cld/base/
H A Dtype_traits.h17 // has_trivial_copy
102 // We can't get has_trivial_copy right without compiler help, so fail
107 template <class T> struct has_trivial_copy : is_pod<T> { }; struct in namespace:base
108 template <class T, class U> struct has_trivial_copy<std::pair<T, U> > struct in namespace:base
110 (has_trivial_copy<T>::value &&
111 has_trivial_copy<U>::value)> { };
112 template <class A, int N> struct has_trivial_copy<A[N]> struct in namespace:base
113 : has_trivial_copy<A> { };
114 template <class T> struct has_trivial_copy<const T> : has_trivial_copy< struct in namespace:base
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dtype_traits.h45 // has_trivial_copy
80 template <class T> struct has_trivial_copy;
231 // We can't get has_trivial_copy right without compiler help, so fail
236 template <class T> struct has_trivial_copy : is_pod<T> { }; struct in namespace:google::protobuf::internal
237 template <class T, class U> struct has_trivial_copy<std::pair<T, U> > struct in namespace:google::protobuf::internal
239 (has_trivial_copy<T>::value &&
240 has_trivial_copy<U>::value)> { };
241 template <class A, int N> struct has_trivial_copy<A[N]> struct in namespace:google::protobuf::internal
242 : has_trivial_copy<A> { };
243 template <class T> struct has_trivial_copy<cons struct in namespace:google::protobuf::internal
[all...]
H A Dtype_traits_unittest.cc73 // by specializing has_trivial_copy.
84 template<> struct has_trivial_copy<C> : true_type { }; struct in namespace:google::protobuf::internal
412 EXPECT_TRUE(has_trivial_copy<bool>::value);
413 EXPECT_TRUE(has_trivial_copy<char>::value);
414 EXPECT_TRUE(has_trivial_copy<unsigned char>::value);
415 EXPECT_TRUE(has_trivial_copy<signed char>::value);
416 EXPECT_TRUE(has_trivial_copy<wchar_t>::value);
417 EXPECT_TRUE(has_trivial_copy<int>::value);
418 EXPECT_TRUE(has_trivial_copy<unsigned int>::value);
419 EXPECT_TRUE(has_trivial_copy<shor
[all...]

Completed in 106 milliseconds