Searched refs:has_trivial_constructor (Results 1 – 4 of 4) sorted by relevance
121 template<> struct has_trivial_constructor<E> : true_type { }; struct372 EXPECT_TRUE(has_trivial_constructor<bool>::value); in TEST()373 EXPECT_TRUE(has_trivial_constructor<char>::value); in TEST()374 EXPECT_TRUE(has_trivial_constructor<unsigned char>::value); in TEST()375 EXPECT_TRUE(has_trivial_constructor<signed char>::value); in TEST()376 EXPECT_TRUE(has_trivial_constructor<wchar_t>::value); in TEST()377 EXPECT_TRUE(has_trivial_constructor<int>::value); in TEST()378 EXPECT_TRUE(has_trivial_constructor<unsigned int>::value); in TEST()379 EXPECT_TRUE(has_trivial_constructor<short>::value); in TEST()380 EXPECT_TRUE(has_trivial_constructor<unsigned short>::value); in TEST()[all …]
99 template <class T> struct has_trivial_constructor;248 template <class T> struct has_trivial_constructor : is_pod<T> { };249 template <class T, class U> struct has_trivial_constructor<std::pair<T, U> >251 (has_trivial_constructor<T>::value &&252 has_trivial_constructor<U>::value)> { };253 template <class A, int N> struct has_trivial_constructor<A[N]>254 : has_trivial_constructor<A> { };255 template <class T> struct has_trivial_constructor<const T>256 : has_trivial_constructor<T> { };
28 #if __has_feature(has_trivial_constructor)29 int has_trivial_constructor();
3460 #if __has_feature(has_trivial_constructor) || (_GNUC_VER >= 403)