Home
last modified time | relevance | path

Searched refs:is_base_of (Results 1 – 25 of 242) sorted by relevance

12345678910

/third_party/boost/libs/type_traits/test/
Dis_base_of_test.cpp18 TT_TEST_BEGIN(is_base_of)
20 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Derived,Base>::value), false);
21 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Derived,Derived>::value), true);
22 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Derived,const Derived>::value), true);
23 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base,Base>::value), true);
24 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base,Derived>::value), true);
25 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<const Base,Derived>::value), true);
26 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base,const Derived>::value), true);
27 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base,MultiBase>::value), true);
28 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Derived,MultiBase>::value), true);
[all …]
Dtricky_partial_spec_test.cpp62 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base&,Derived>::value), false);
63 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base&,Derived&>::value), false);
64 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base,Derived&>::value), false);
65 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base,void>::value), false);
67 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base&&,Derived>::value), false);
68 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base&&,Derived&&>::value), false);
69 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base,Derived&&>::value), false);
/third_party/boost/libs/type_traits/doc/
Dis_base_of.qbk8 [section:is_base_of is_base_of]
11 struct is_base_of : public __tof {};
21 Note that `is_base_of<X,X>` will inherit from __true_type if X is a class type.
29 __header ` #include <boost/type_traits/is_base_of.hpp>` or ` #include <boost/type_traits.hpp>`
37 [:`is_base_of<Base, Derived>` inherits from `__true_type`.]
39 [:`is_base_of<Base, Derived>::type` is the type `__true_type`.]
41 [:`is_base_of<Base, Derived>::value` is an integral constant
44 [:`is_base_of<Base, Base>::value` is an integral constant
47 [:`is_base_of<T, T>::value_type` is the type `bool`.]
/third_party/boost/boost/fusion/support/
Dcategory_of.hpp75 : is_base_of<
82 : is_base_of<
89 : is_base_of<
96 : is_base_of<
103 : is_base_of<
110 : is_base_of<
117 : is_base_of<
/third_party/boost/boost/process/detail/windows/
Dasync_handler.hpp22 struct is_async_handler : std::is_base_of<async_handler, T> {};
24 struct is_async_handler<T&> : std::is_base_of<async_handler, T> {};
26 struct is_async_handler<const T&> : std::is_base_of<async_handler, T> {};
29 struct does_require_io_context : std::is_base_of<require_io_context, T> {};
32 struct does_require_io_context<T&> : std::is_base_of<require_io_context, T> {};
35 struct does_require_io_context<const T&> : std::is_base_of<require_io_context, T> {};
/third_party/boost/boost/process/detail/posix/
Dasync_handler.hpp22 struct is_async_handler : std::is_base_of<async_handler, T> {};
24 struct is_async_handler<T&> : std::is_base_of<async_handler, T> {};
26 struct is_async_handler<const T&> : std::is_base_of<async_handler, T> {};
29 struct does_require_io_context : std::is_base_of<require_io_context, T> {};
32 struct does_require_io_context<T&> : std::is_base_of<require_io_context, T> {};
35 struct does_require_io_context<const T&> : std::is_base_of<require_io_context, T> {};
/third_party/boost/boost/thread/detail/
Dinvoke.hpp380 is_base_of<A, typename remove_reference<A0>::type>::value,
392 is_base_of<A, typename remove_reference<A0>::type>::value,
404 is_base_of<A, typename remove_reference<A0>::type>::value,
416 is_base_of<A, typename remove_reference<A0>::type>::value,
431 ! is_base_of<A, typename remove_reference<A0>::type>::value,
443 ! is_base_of<A, typename remove_reference<A0>::type>::value,
455 ! is_base_of<A, typename remove_reference<A0>::type>::value,
467 ! is_base_of<A, typename remove_reference<A0>::type>::value,
564 is_base_of<A, typename remove_reference<A0>::type>::value,
575 is_base_of<A, typename remove_reference<A0>::type>::value,
[all …]
/third_party/boost/boost/numeric/odeint/external/eigen/
Deigen_resize.hpp39 …typename boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::t…
48 …typename boost::enable_if< typename boost::is_base_of< Eigen::ArrayBase< Derived > , Derived >::ty…
58 …typename boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::t…
69 …typename boost::enable_if< typename boost::is_base_of< Eigen::ArrayBase< Derived > , Derived >::ty…
82 …typename boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::t…
92 …typename boost::enable_if< typename boost::is_base_of< Eigen::ArrayBase< Derived > , Derived >::ty…
Deigen_algebra_dispatcher.hpp29 …typename boost::enable_if< typename boost::is_base_of< Eigen::MatrixBase< Derived > , Derived >::t…
37 …typename boost::enable_if< typename boost::is_base_of< Eigen::ArrayBase< Derived > , Derived >::ty…
/third_party/boost/boost/type_traits/
Dis_base_of_tr1.hpp28 template <class Base, class Derived> struct is_base_of struct
31 template <class Base, class Derived> struct is_base_of<Base, Derived&> : public false_type{}; struct
32 template <class Base, class Derived> struct is_base_of<Base&, Derived&> : public false_type{}; struct
33 template <class Base, class Derived> struct is_base_of<Base&, Derived> : public false_type{}; struct
Dis_base_of.hpp30 template <class Base, class Derived> struct is_base_of struct
33 template <class Base, class Derived> struct is_base_of<Base, Derived&> : false_type{}; struct
34 template <class Base, class Derived> struct is_base_of<Base&, Derived&> : false_type{}; struct
35 template <class Base, class Derived> struct is_base_of<Base&, Derived> : false_type{}; struct
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/
Dgpu_kernel_factory.h88 static_assert(std::is_base_of<GpuKernel, OPCLASS>::value, " must be base of GpuKernel"); \
93 static_assert(std::is_base_of<GpuKernel, OPCLASS>::value, " must be base of GpuKernel"); \
98 static_assert(std::is_base_of<GpuKernel, OPCLASS<T>>::value, " must be base of GpuKernel"); \
103 static_assert(std::is_base_of<GpuKernel, OPCLASS<T>>::value, " must be base of GpuKernel"); \
108 static_assert(std::is_base_of<GpuKernel, OPCLASS<T, S>>::value, " must be base of GpuKernel"); \
113 …static_assert(std::is_base_of<GpuKernel, OPCLASS<T, S, G>>::value, " must be base of GpuKernel"); \
/third_party/boost/boost/msm/front/
Drow2.hpp56 ::boost::mpl::bool_< ::boost::is_base_of<CalledForAction,FSM>::type::value>()); in action_call()
83 ::boost::mpl::bool_< ::boost::is_base_of<CalledForAction,FSM>::type::value>()); in action_call()
93 ::boost::mpl::bool_< ::boost::is_base_of<CalledForGuard,FSM>::type::value>()); in guard_call()
116 ::boost::mpl::bool_< ::boost::is_base_of<CalledForGuard,FSM>::type::value>()); in guard_call()
139 ::boost::mpl::bool_< ::boost::is_base_of<CalledForAction,FSM>::type::value>()); in action_call()
165 ::boost::mpl::bool_< ::boost::is_base_of<CalledForAction,FSM>::type::value>()); in action_call()
175 ::boost::mpl::bool_< ::boost::is_base_of<CalledForGuard,FSM>::type::value>()); in guard_call()
197 ::boost::mpl::bool_< ::boost::is_base_of<CalledForGuard,FSM>::type::value>()); in guard_call()
Dinternal_row.hpp39 ::boost::mpl::bool_< ::boost::is_base_of<CalledForAction,FSM>::type::value>()); in action_call()
62 ::boost::mpl::bool_< ::boost::is_base_of<CalledForAction,FSM>::type::value>()); in action_call()
72 ::boost::mpl::bool_< ::boost::is_base_of<CalledForGuard,FSM>::type::value>()); in guard_call()
91 ::boost::mpl::bool_< ::boost::is_base_of<CalledForGuard,FSM>::type::value>()); in guard_call()
/third_party/boost/libs/mp11/test/
Dmp_inherit.cpp22 BOOST_TEST_TRAIT_TRUE((std::is_base_of<X1, mp_inherit<X1, X2, X3>>)); in main()
23 BOOST_TEST_TRAIT_TRUE((std::is_base_of<X2, mp_inherit<X1, X2, X3>>)); in main()
24 BOOST_TEST_TRAIT_TRUE((std::is_base_of<X3, mp_inherit<X1, X2, X3>>)); in main()
/third_party/skia/experimental/skrive/include/
DSkRive.h52 std::enable_if_t<std::is_base_of<Component, T>::value, bool> in ACTOR_ATTR()
57 return is_base_of<T>(fType); in ACTOR_ATTR()
100 static constexpr bool is_base_of(Type t);
278 constexpr bool Component::is_base_of(Type t) { in is_base_of() function
279 if (t == Type::kNode ) return std::is_base_of<T, Node >::value; in is_base_of()
280 if (t == Type::kShape ) return std::is_base_of<T, Shape >::value; in is_base_of()
281 if (t == Type::kColorPaint) return std::is_base_of<T, ColorPaint>::value; in is_base_of()
282 if (t == Type::kEllipse ) return std::is_base_of<T, Ellipse >::value; in is_base_of()
283 if (t == Type::kRectangle ) return std::is_base_of<T, Rectangle >::value; in is_base_of()
/third_party/boost/boost/process/detail/
Dused_handles.hpp30 struct does_use_handle: std::is_base_of<uses_handles, T> {};
33 struct does_use_handle<T&> : std::is_base_of<uses_handles, T> {};
36 struct does_use_handle<const T&> : std::is_base_of<uses_handles, T> {};
/third_party/boost/boost/log/detail/
Dparameter_tools.hpp130 …enable_if_c< boost::mpl::or_< boost::is_base_of< boost::parameter::aux::tagged_argument_base, T >,…
136 …enable_if_c< boost::mpl::or_< boost::is_base_of< boost::parameter::aux::tagged_argument_base, T >,…
/third_party/boost/libs/optional/test/
Doptional_test_static_properties.cpp119 …BOOST_TEST_TRAIT_TRUE((boost::is_base_of<boost::optional_detail::tc_optional_base<int>, boost::opt… in test_trivial_copyability()
120 …BOOST_TEST_TRAIT_TRUE((boost::is_base_of<boost::optional_detail::tc_optional_base<double>, boost::… in test_trivial_copyability()
121 …BOOST_TEST_TRAIT_TRUE((boost::is_base_of<boost::optional_detail::tc_optional_base<CustomizedTrivia… in test_trivial_copyability()
122 …BOOST_TEST_TRAIT_FALSE((boost::is_base_of<boost::optional_detail::tc_optional_base<DeletedDefault>… in test_trivial_copyability()
Doptional_test_experimental_traits.cpp126 …BOOST_TEST_TRAIT_TRUE((boost::is_base_of<boost::optional_detail::tc_optional_base<int>, boost::opt… in test_trivial_copyability()
127 …BOOST_TEST_TRAIT_TRUE((boost::is_base_of<boost::optional_detail::tc_optional_base<double>, boost::… in test_trivial_copyability()
128 …BOOST_TEST_TRAIT_TRUE((boost::is_base_of<boost::optional_detail::tc_optional_base<CustomizedTrivia… in test_trivial_copyability()
129 …BOOST_TEST_TRAIT_FALSE((boost::is_base_of<boost::optional_detail::tc_optional_base<DeletedDefault>… in test_trivial_copyability()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRawByteChannel.h91 std::is_base_of<RawByteChannel, ChannelT>::value &&
113 typename std::enable_if<std::is_base_of<
135 typename std::enable_if<std::is_base_of<
149 std::is_base_of<RawByteChannel, ChannelT>::value &&
161 typename std::enable_if<std::is_base_of<
/third_party/boost/boost/bimap/detail/
Dis_set_type_of.hpp53 is_base_of< set_type_of_tag, Type > {};
57 is_base_of< set_type_of_relation_tag, Type > {};
/third_party/grpc/include/grpcpp/impl/codegen/
Dproto_utils.h47 static_assert(std::is_base_of<protobuf::io::ZeroCopyOutputStream, in GenericSerialize()
73 static_assert(std::is_base_of<protobuf::io::ZeroCopyInputStream, in GenericDeserialize()
103 std::is_base_of<grpc::protobuf::MessageLite, T>::value>::type> {
/third_party/boost/libs/hana/test/type/
Dinherit_basic_type.cpp14 static_assert(std::is_base_of<hana::basic_type<T>, decltype(hana::type_c<T>)>{}, "");
15 static_assert(std::is_base_of<hana::basic_type<T>, hana::type<T>>{}, "");
/third_party/boost/boost/type_traits/detail/
Dcomposite_pointer_type.hpp93 || (boost::is_base_of<T2, U2>::value)
94 || (boost::is_base_of<U2, T2>::value) );
108 … boost::is_same<T2, U2>::value || boost::is_void<T2>::value || boost::is_base_of<T2, U2>::value,

12345678910