Home
last modified time | relevance | path

Searched refs:is_pod (Results 1 – 16 of 16) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dtype_traits_unittest.cc327 EXPECT_TRUE(is_pod<bool>::value); in TEST()
328 EXPECT_TRUE(is_pod<char>::value); in TEST()
329 EXPECT_TRUE(is_pod<unsigned char>::value); in TEST()
330 EXPECT_TRUE(is_pod<signed char>::value); in TEST()
331 EXPECT_TRUE(is_pod<wchar_t>::value); in TEST()
332 EXPECT_TRUE(is_pod<int>::value); in TEST()
333 EXPECT_TRUE(is_pod<unsigned int>::value); in TEST()
334 EXPECT_TRUE(is_pod<short>::value); in TEST()
335 EXPECT_TRUE(is_pod<unsigned short>::value); in TEST()
336 EXPECT_TRUE(is_pod<long>::value); in TEST()
[all …]
Dtype_traits.h78 template <class T> struct is_pod;
203 template <class T> struct is_pod
211 template <class T> struct is_pod<const T> : is_pod<T> { };
212 template <class T> struct is_pod<volatile T> : is_pod<T> { };
213 template <class T> struct is_pod<const volatile T> : is_pod<T> { };
221 template <class T> struct has_trivial_constructor : is_pod<T> { };
236 template <class T> struct has_trivial_copy : is_pod<T> { };
249 template <class T> struct has_trivial_assign : is_pod<T> { };
262 template <class T> struct has_trivial_destructor : is_pod<T> { };
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_pod.pass.cpp19 static_assert( std::is_pod<T>::value, ""); in test_is_pod()
20 static_assert( std::is_pod<const T>::value, ""); in test_is_pod()
21 static_assert( std::is_pod<volatile T>::value, ""); in test_is_pod()
22 static_assert( std::is_pod<const volatile T>::value, ""); in test_is_pod()
28 static_assert(!std::is_pod<T>::value, ""); in test_is_not_pod()
29 static_assert(!std::is_pod<const T>::value, ""); in test_is_not_pod()
30 static_assert(!std::is_pod<volatile T>::value, ""); in test_is_not_pod()
31 static_assert(!std::is_pod<const volatile T>::value, ""); in test_is_not_pod()
/external/clang/test/SemaTemplate/
Dinstantiate-expr-4.cpp202 struct is_pod { struct
206 static int is_pod0[is_pod<X>::value? -1 : 1];
207 static int is_pod1[is_pod<Y>::value? 1 : -1];
349 …return is_pod<X>::value; // expected-error{{non-const lvalue reference to type 'int' cannot bind t… in f()
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp83 #if __has_feature(is_pod)
84 int is_pod();
/external/llvm/lib/MC/
DMCSchedule.cpp19 static_assert(std::is_pod<MCSchedModel>::value,
/external/clang/test/SemaCXX/
Dlibstdcxx_is_pod_hack.cpp46 #if !__has_feature(is_pod)
Dtype-traits.cpp166 void is_pod() in is_pod() function
/external/libcxx/test/std/language.support/support.types/
Dmax_align_t.pass.cpp20 static_assert(std::is_pod<std::max_align_t>::value, in main()
/external/clang/bindings/python/tests/cindex/
Dtest_comment.py22 assert test1.type.is_pod()
Dtest_type.py230 assert i.type.is_pod()
231 assert not f.type.is_pod()
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.prop.pass.cpp99 static_assert(ex::is_pod_v<T> == std::is_pod<T>::value, ""); in type_properties_test()
104 static_assert(ex::is_pod_v<T> == std::is_pod<T>::value, ""); in type_properties_test()
/external/libcxx/include/experimental/
Dtype_traits82 = is_pod<T>::value;
280 = is_pod<_Tp>::value;
/external/libcxx/include/
Dtype_traits91 template <class T> struct is_pod;
3253 // is_pod
3255 #if __has_feature(is_pod) || (_GNUC_VER >= 403)
3257 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_pod
3262 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_pod
Dstring1220 static_assert(is_pod<value_type>::value, "Character type of basic_string must be a POD");
/external/clang/bindings/python/clang/
Dcindex.py1865 def is_pod(self): member in Type