Home
last modified time | relevance | path

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

123

/third_party/boost/libs/type_traits/test/
Dis_pod_test.cpp15 TT_TEST_BEGIN(is_pod)
17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<bool>::value, true);
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<bool const>::value, true);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<bool volatile>::value, true);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<bool const volatile>::value, true);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<signed char>::value, true);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<signed char const>::value, true);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<signed char volatile>::value, true);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<signed char const volatile>::value, true);
26 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<unsigned char>::value, true);
[all …]
Dudt_specialisations.cpp27 struct is_pod<my_pod> struct
30 struct is_pod<my_union> struct
40 TT_TEST_BEGIN(is_pod)
42 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<my_pod>::value, true);
43 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<my_union>::value, true);
Dtricky_function_type_test.cpp37 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<foo0_t>::value, false);
54 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<foo1_t>::value, false);
64 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<foo2_t>::value, false);
74 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<foo3_t>::value, false);
84 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_pod<foo4_t>::value, false);
Daligned_storage_a2_test.cpp53 BOOST_CHECK(::tt::is_pod<t1>::value == true); in do_check()
68 BOOST_CHECK(::tt::is_pod<t2>::value == true); in do_check()
86 BOOST_CHECK(::tt::is_pod<t3>::value == true); in do_check()
Daligned_storage_test.cpp46 BOOST_CHECK(::tt::is_pod<t1>::value == true); in do_check()
57 BOOST_CHECK(::tt::is_pod<t2>::value == true); in do_check()
71 BOOST_CHECK(::tt::is_pod<t3>::value == true); in do_check()
/third_party/boost/boost/type_traits/
Dis_pod.hpp35 template <typename T> struct is_pod struct
40 template <typename T, std::size_t sz> struct is_pod<T[sz]> : public is_pod<T>{}; struct
45 template<> struct is_pod<void> : public true_type{}; struct
48 template<> struct is_pod<void const> : public true_type{}; struct
49 template<> struct is_pod<void const volatile> : public true_type{}; struct
50 template<> struct is_pod<void volatile> : public true_type{}; struct
53 template<class T> struct is_POD : public is_pod<T>{};
Dtype_with_alignment.hpp106 template<> struct is_pod< ::boost::tt_align_ns::a2> : public true_type{}; struct
107 template<> struct is_pod< ::boost::tt_align_ns::a4> : public true_type{}; struct
108 template<> struct is_pod< ::boost::tt_align_ns::a8> : public true_type{}; struct
109 template<> struct is_pod< ::boost::tt_align_ns::a16> : public true_type{}; struct
110 template<> struct is_pod< ::boost::tt_align_ns::a32> : public true_type{}; struct
111 template<> struct is_pod< ::boost::tt_align_ns::a64> : public true_type{}; struct
112 template<> struct is_pod< ::boost::tt_align_ns::a128> : public true_type{}; struct
200 template<> struct is_pod< ::boost::tt_align_ns::a8> : public true_type{}; struct
201 template<> struct is_pod< ::boost::tt_align_ns::a16> : public true_type{}; struct
202 template<> struct is_pod< ::boost::tt_align_ns::a32> : public true_type{}; struct
[all …]
Dhas_trivial_constructor.hpp41 …: public integral_constant <bool, ((::boost::is_pod<T>::value || BOOST_HAS_TRIVIAL_CONSTRUCTOR(T))…
43 : public integral_constant <bool, ::boost::is_pod<T>::value>{};
Dintrinsics.hpp104 # define BOOST_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) || ( ::boost::is_pod<T>::value && !…
105 # define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) (__has_trivial_destructor(T) || ::boost::is_pod<T>::valu…
109 # define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) || ::boost::is_pod<T>::value)
126 …IAL_MOVE_CONSTRUCTOR(T) ((__is_trivially_constructible(T, T&&) || boost::is_pod<T>::value) && ! ::…
127 …HAS_TRIVIAL_MOVE_ASSIGN(T) ((__is_trivially_assignable(T, T&&) || boost::is_pod<T>::value) && ! ::…
129 …RIVIAL_MOVE_CONSTRUCTOR(T) ((__has_trivial_move_constructor(T) || boost::is_pod<T>::value) && ! ::…
130 # define BOOST_HAS_TRIVIAL_MOVE_ASSIGN(T) ((__has_trivial_move_assign(T) || boost::is_pod<T>:…
180 …ined(__GLIBCXX__) || (__GLIBCXX__ >= 20080306 && __GLIBCXX__ != 20080519)) && __has_feature(is_pod)
257 # define BOOST_INTEL_TT_OPTS || is_pod<T>::value
Dis_assignable.hpp69 …> struct is_assignable<T&, U> : public integral_constant<bool, is_pod<T>::value && is_pod<typename…
Dhas_trivial_destructor.hpp36 …ame T> struct has_trivial_destructor : public integral_constant<bool, ::boost::is_pod<T>::value>{};
Dhas_trivial_assign.hpp31 ::boost::is_pod<T>::value && !::boost::is_const<T>::value && !::boost::is_volatile<T>::value
Dhas_trivial_copy.hpp36 ::boost::is_pod<T>::value
Dhas_trivial_move_constructor.hpp56 …: public integral_constant<bool, ::boost::is_pod<T>::value && !::boost::is_volatile<T>::value SOLA…
Dhas_trivial_move_assign.hpp51 …::boost::is_pod<T>::value && !::boost::is_const<T>::value && !::boost::is_volatile<T>::value SOLAR…
/third_party/boost/libs/type_traits/doc/
Dis_pod.qbk8 [section:is_pod is_pod]
10 struct is_pod : public __tof {};
26 __compat Without some (as yet unspecified) help from the compiler, is_pod will
35 __header ` #include <boost/type_traits/is_pod.hpp>` or ` #include <boost/type_traits.hpp>`
39 [:`is_pod<int>` inherits from `__true_type`.]
41 [:`is_pod<char*>::type` is the type `__true_type`.]
43 [:`is_pod<int (*)(long)>::value` is an integral constant
46 [:`is_pod<MyClass>::value` is an integral constant
49 [:`is_pod<T>::value_type` is the type `bool`.]
/third_party/boost/boost/move/detail/
Dtype_traits.hpp93 …_MOVE_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T)|| ::boost::move_detail::is_pod<T>::value)
94 …VE_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) || ::boost::move_detail::is_pod<T>::value)
95 …AS_TRIVIAL_DESTRUCTOR(T) (__has_trivial_destructor(T) || ::boost::move_detail::is_pod<T>::value)
102 …MOVE_CONSTRUCTOR(T) (__has_trivial_move_constructor(T) || ::boost::move_detail::is_pod<T>::value)
103 …VIAL_MOVE_ASSIGN(T) (__has_trivial_move_assign(T) || ::boost::move_detail::is_pod<T>::value)
112 …ined(__GLIBCXX__) || (__GLIBCXX__ >= 20080306 && __GLIBCXX__ != 20080519)) && __has_feature(is_pod)
154 # define BOOST_MOVE_INTEL_TT_OPTS || ::boost::move_detail::is_pod<T>::value
238 … #define BOOST_MOVE_IS_TRIVIALLY_COPY_CONSTRUCTIBLE(T) ::boost::move_detail::is_pod<T>::value ||\
242 #define BOOST_MOVE_IS_TRIVIALLY_COPY_CONSTRUCTIBLE(T) ::boost::move_detail::is_pod<T>::value
248 #define BOOST_MOVE_IS_TRIVIALLY_DEFAULT_CONSTRUCTIBLE(T) ::boost::move_detail::is_pod<T>::value
[all …]
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_table_driven.h209 static_assert(std::is_pod<ParseTableField>::value, "");
210 static_assert(std::is_pod<AuxiliaryParseTableField>::value, "");
211 static_assert(std::is_pod<AuxiliaryParseTableField::enum_aux>::value, "");
212 static_assert(std::is_pod<AuxiliaryParseTableField::message_aux>::value, "");
213 static_assert(std::is_pod<AuxiliaryParseTableField::string_aux>::value, "");
214 static_assert(std::is_pod<ParseTable>::value, "");
/third_party/boost/libs/move/test/
Dtype_traits.cpp57 BOOST_STATIC_ASSERT((boost::move_detail::is_pod<int>::value)); in test()
59 BOOST_STATIC_ASSERT((boost::move_detail::is_pod<pod_struct>::value)); in test()
/third_party/skia/src/gpu/
DBufferWriter.h86 static_assert(std::is_pod<T>::value, ""); in writeArray()
191 static_assert(std::is_pod<T>::value, "");
199 static_assert(std::is_pod<T>::value, "");
/third_party/boost/boost/
Dblank.hpp38 struct is_pod< blank > struct
/third_party/boost/libs/detail/test/
Dblank_test.cpp18 BOOST_STATIC_ASSERT((boost::is_pod<boost::blank>::value)); in main()
/third_party/boost/boost/histogram/detail/
Dcommon_type.hpp35 return !std::is_pod<T>::value * 10000 + std::is_floating_point<T>::value * 100 + in type_rank()
/third_party/re2/re2/
Dpod_array.h16 static_assert(std::is_pod<T>::value,
/third_party/flutter/skia/src/gpu/
DGrVertexWriter.h50 static_assert(std::is_pod<T>::value, ""); in write()
62 static_assert(std::is_pod<T>::value, ""); in write()

123