HomeSort by relevance Sort by last modified time
    Searched defs:has_trivial_copy (Results 1 - 2 of 2) sorted by null

  /external/protobuf/src/google/protobuf/stubs/
type_traits.h 46 // has_trivial_copy
100 template <class T> struct has_trivial_copy;
258 // We can't get has_trivial_copy right without compiler help, so fail
263 template <class T> struct has_trivial_copy : is_pod<T> { }; struct in namespace:google::protobuf::internal
264 template <class T, class U> struct has_trivial_copy<std::pair<T, U> > struct in namespace:google::protobuf::internal
266 (has_trivial_copy<T>::value &&
267 has_trivial_copy<U>::value)> { };
268 template <class A, int N> struct has_trivial_copy<A[N]> struct in namespace:google::protobuf::internal
269 : has_trivial_copy<A> { };
270 template <class T> struct has_trivial_copy<const T> : has_trivial_copy<T> { } struct in namespace:google::protobuf::internal
    [all...]
type_traits_unittest.cc 76 // by specializing has_trivial_copy.
87 template<> struct has_trivial_copy<C> : true_type { }; struct in namespace:google::protobuf::internal
415 EXPECT_TRUE(has_trivial_copy<bool>::value);
416 EXPECT_TRUE(has_trivial_copy<char>::value);
417 EXPECT_TRUE(has_trivial_copy<unsigned char>::value);
418 EXPECT_TRUE(has_trivial_copy<signed char>::value);
419 EXPECT_TRUE(has_trivial_copy<wchar_t>::value);
420 EXPECT_TRUE(has_trivial_copy<int>::value);
421 EXPECT_TRUE(has_trivial_copy<unsigned int>::value);
422 EXPECT_TRUE(has_trivial_copy<short>::value)
    [all...]

Completed in 310 milliseconds