Searched defs:has_trivial_constructor (Results 1 - 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
H A Dtype_traits.h45 // has_trivial_constructor
99 template <class T> struct has_trivial_constructor;
243 // We can't get has_trivial_constructor right without compiler help, so
248 template <class T> struct has_trivial_constructor : is_pod<T> { }; struct in namespace:google::protobuf::internal
249 template <class T, class U> struct has_trivial_constructor<std::pair<T, U> > struct in namespace:google::protobuf::internal
251 (has_trivial_constructor<T>::value &&
252 has_trivial_constructor<U>::value)> { };
253 template <class A, int N> struct has_trivial_constructor<A[N]> struct in namespace:google::protobuf::internal
254 : has_trivial_constructor<A> { };
255 template <class T> struct has_trivial_constructor<cons struct in namespace:google::protobuf::internal
[all...]
H A Dtype_traits_unittest.cc112 // by specializing has_trivial_constructor.
121 template<> struct has_trivial_constructor<E> : true_type { }; struct in namespace:google::protobuf::internal
372 EXPECT_TRUE(has_trivial_constructor<bool>::value);
373 EXPECT_TRUE(has_trivial_constructor<char>::value);
374 EXPECT_TRUE(has_trivial_constructor<unsigned char>::value);
375 EXPECT_TRUE(has_trivial_constructor<signed char>::value);
376 EXPECT_TRUE(has_trivial_constructor<wchar_t>::value);
377 EXPECT_TRUE(has_trivial_constructor<int>::value);
378 EXPECT_TRUE(has_trivial_constructor<unsigned int>::value);
379 EXPECT_TRUE(has_trivial_constructor<shor
[all...]

Completed in 109 milliseconds