Home
last modified time | relevance | path

Searched refs:is_union (Results 1 – 25 of 44) sorted by relevance

12

/third_party/boost/libs/type_traits/test/
Dis_union_test.cpp16 TT_TEST_BEGIN(is_union)
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<int>::value, false);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<const int>::value, false);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<volatile int>::value, false);
21 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<int*>::value, false);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<int* const>::value, false);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<int[2]>::value, false);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<int&>::value, false);
26 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<int&&>::value, false);
28 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<mf4>::value, false);
[all …]
Dudt_specialisations.cpp33 struct is_union<my_union> struct
44 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_union<my_union>::value, true);
/third_party/boost/boost/type_traits/
Dis_union.hpp20 template <class T> struct is_union : public integral_constant<bool, BOOST_IS_UNION(T)> {}; struct
22 template <class T> struct is_union : public integral_constant<bool, false> {};
25 template <class T> struct is_union<T const> : public is_union<T>{}; struct
26 template <class T> struct is_union<T volatile const> : public is_union<T>{}; struct
27 template <class T> struct is_union<T volatile> : public is_union<T>{}; struct
Dis_class.hpp59 && ! ::boost::is_union<T>::value
73 && ! ::boost::is_union<T>::value
85 ! ::boost::is_union<T>::value >::value
Dis_enum.hpp44 BOOST_STATIC_CONSTANT(bool, value = ::boost::is_class<T>::value || ::boost::is_union<T>::value);
/third_party/boost/libs/type_traits/doc/
Dis_union.qbk8 [section:is_union is_union]
10 struct is_union : public __tof {};
29 __header ` #include <boost/type_traits/is_union.hpp>` or ` #include <boost/type_traits.hpp>`
35 [:`is_union<my_union>` inherits from `__true_type`.]
37 [:`is_union<const my_union>::type` is the type `__true_type`.]
39 [:`is_union<my_union>::value` is an integral constant
42 [:`is_union<my_union*>::value` is an integral constant
45 [:`is_union<T>::value_type` is the type `bool`.]
Duser_defined.qbk18 #include <boost/type_traits/is_union.hpp>
/third_party/boost/libs/pfr/include/boost/pfr/detail/
Dcore17.hpp51 !std::is_union<T>::value, in tie_as_tuple()
61 !std::is_union<T>::value, in for_each_field_dispatcher()
Dcore14_classic.hpp123 … constexpr std::size_t type_to_id(identity<Type>, std::enable_if_t<std::is_union<Type>::value>* = …
124 …if_t<!std::is_enum<Type>::value && !std::is_empty<Type>::value && !std::is_union<Type>::value>* = …
238 constexpr std::size_t type_to_id(identity<Type>, std::enable_if_t<std::is_union<Type>::value>*) noe… in type_to_id()
240 !std::is_union<Type>::value, in type_to_id()
247 …if_t<!std::is_enum<Type>::value && !std::is_empty<Type>::value && !std::is_union<Type>::value>*) n… in type_to_id()
555 !std::is_union<T>::value, in tie_as_flat_tuple()
568 !std::is_union<T>::value, in tie_as_tuple()
671 !std::is_union<T>::value, in for_each_field_dispatcher()
Dcore14_loophole.hpp170 !std::is_union<T>::value, in tie_as_tuple()
181 !std::is_union<T>::value, in for_each_field_dispatcher()
/third_party/boost/boost/pfr/detail/
Dcore17.hpp51 !std::is_union<T>::value, in tie_as_tuple()
61 !std::is_union<T>::value, in for_each_field_dispatcher()
Dcore14_classic.hpp123 … constexpr std::size_t type_to_id(identity<Type>, std::enable_if_t<std::is_union<Type>::value>* = …
124 …if_t<!std::is_enum<Type>::value && !std::is_empty<Type>::value && !std::is_union<Type>::value>* = …
238 constexpr std::size_t type_to_id(identity<Type>, std::enable_if_t<std::is_union<Type>::value>*) noe… in type_to_id()
240 !std::is_union<Type>::value, in type_to_id()
247 …if_t<!std::is_enum<Type>::value && !std::is_empty<Type>::value && !std::is_union<Type>::value>*) n… in type_to_id()
555 !std::is_union<T>::value, in tie_as_flat_tuple()
568 !std::is_union<T>::value, in tie_as_tuple()
671 !std::is_union<T>::value, in for_each_field_dispatcher()
Dcore14_loophole.hpp170 !std::is_union<T>::value, in tie_as_tuple()
181 !std::is_union<T>::value, in for_each_field_dispatcher()
/third_party/boost/boost/tti/detail/
Ddunion.hpp38 boost::is_union<typename BOOST_TTI_DETAIL_TP_T::name>, \
52 boost::is_union<typename BOOST_TTI_DETAIL_TP_T::name> \
Ddenclosing_type.hpp28 boost::is_union<BOOST_TTI_DETAIL_TP_T>
/third_party/boost/boost/python/detail/
Dtype_traits.hpp60 using boost::is_union;
93 using std::is_union;
/third_party/boost/boost/type_traits/detail/
Dcommon_type_impl.hpp44 BOOST_STATIC_CONSTANT( bool, ct = boost::is_class<T>::value || boost::is_union<T>::value );
45 BOOST_STATIC_CONSTANT( bool, cu = boost::is_class<U>::value || boost::is_union<U>::value );
/third_party/flatbuffers/src/
Didl_gen_fbs.cpp107 if (enum_def.is_union) in GenerateFBS()
115 if (enum_def.is_union) in GenerateFBS()
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dtraversal_ring_creator.hpp318 static const bool is_union in get_operation_index() local
324 ? (is_union ? 1 : 0) in get_operation_index()
325 : (is_union ? 0 : 1); in get_operation_index()
Dtraversal.hpp375 static bool const is_union = target_operation == operation_union; in select_cc_operation() local
392 || (is_union && op.remaining_distance > best_remaining_distance) in select_cc_operation()
393 || (!is_union && op.remaining_distance < best_remaining_distance)) in select_cc_operation()
771 bool const is_union = target_operation == operation_union; in select_turn_from_cluster() local
798 if (is_union) in select_turn_from_cluster()
/third_party/boost/libs/utility/doc/
Dcompressed_pair.qbk82 `boost::is_union`, or if `boost::is_union` is specialised for the union
/third_party/boost/boost/python/object/
Dmake_instance.hpp28 boost::python::detail::is_union<T> >)); in execute()
/third_party/boost/boost/move/detail/
Dtype_traits.hpp79 # define BOOST_MOVE_IS_UNION(T) BOOST_STD_EXTENSION_NAMESPACE::is_union<T>::value
109 # if __has_feature(is_union)
603 struct is_union struct
613 static const bool value = is_class_or_union<T>::value && ! is_union<T>::value;
/third_party/boost/boost/hana/
Dtraits.hpp46 constexpr auto is_union = detail::hana_trait<std::is_union>{};
/third_party/boost/libs/hana/include/boost/hana/
Dtraits.hpp46 constexpr auto is_union = detail::hana_trait<std::is_union>{};

12