Searched refs:is_pod (Results 1 – 16 of 16) sorted by relevance
/external/protobuf/src/google/protobuf/stubs/ |
D | type_traits_unittest.cc | 327 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 …]
|
D | type_traits.h | 78 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/ |
D | is_pod.pass.cpp | 19 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/ |
D | instantiate-expr-4.cpp | 202 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/ |
D | has_feature_type_traits.cpp | 83 #if __has_feature(is_pod) 84 int is_pod();
|
/external/llvm/lib/MC/ |
D | MCSchedule.cpp | 19 static_assert(std::is_pod<MCSchedModel>::value,
|
/external/clang/test/SemaCXX/ |
D | libstdcxx_is_pod_hack.cpp | 46 #if !__has_feature(is_pod)
|
D | type-traits.cpp | 166 void is_pod() in is_pod() function
|
/external/libcxx/test/std/language.support/support.types/ |
D | max_align_t.pass.cpp | 20 static_assert(std::is_pod<std::max_align_t>::value, in main()
|
/external/clang/bindings/python/tests/cindex/ |
D | test_comment.py | 22 assert test1.type.is_pod()
|
D | test_type.py | 230 assert i.type.is_pod() 231 assert not f.type.is_pod()
|
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/ |
D | meta.unary.prop.pass.cpp | 99 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/ |
D | type_traits | 82 = is_pod<T>::value; 280 = is_pod<_Tp>::value;
|
/external/libcxx/include/ |
D | type_traits | 91 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
|
D | string | 1220 static_assert(is_pod<value_type>::value, "Character type of basic_string must be a POD");
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 1865 def is_pod(self): member in Type
|