Home
last modified time | relevance | path

Searched refs:is_reference (Results 1 – 25 of 169) sorted by relevance

1234567

/third_party/boost/libs/type_traits/test/
Dis_reference_test.cpp15 TT_TEST_BEGIN(is_reference)
17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<int&>::value, true);
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<const int&>::value, true);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<volatile int &>::value, true);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<const volatile int &>::value, true);
21 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<r_type>::value, true);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<cr_type>::value, true);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<UDT&>::value, true);
24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<const UDT&>::value, true);
25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<volatile UDT&>::value, true);
[all …]
/third_party/boost/libs/type_traits/doc/
Dis_reference.qbk8 [section:is_reference is_reference]
10 struct is_reference : public __tof {};
20 __header ` #include <boost/type_traits/is_reference.hpp>` or ` #include <boost/type_traits.hpp>`
24 [:`is_reference<int&>` inherits from `__true_type`.]
26 [:`is_reference<int const&>::type` is the type `__true_type`.]
28 [:`is_reference<int const&&>::type` is the type `__true_type`.]
30 [:`is_reference<int (&)(long)>::value` is an integral constant
34 [:`is_reference<T>::value_type` is the type `bool`.]
/third_party/boost/libs/hana/test/type/
Dunary_plus.cpp30 static_assert(!std::is_reference<decltype(+val)>{}, ""); in main()
31 static_assert(!std::is_reference<decltype(+ref)>{}, ""); in main()
32 static_assert(!std::is_reference<decltype(+cref)>{}, ""); in main()
33 static_assert(!std::is_reference<decltype(+rref)>{}, ""); in main()
/third_party/boost/boost/type_traits/
Dintrinsics.hpp126 … boost::is_pod<T>::value) && ! ::boost::is_volatile<T>::value && ! ::boost::is_reference<T>::value)
127 …:boost::is_const<T>::value && !::boost::is_volatile<T>::value && ! ::boost::is_reference<T>::value)
129 … boost::is_pod<T>::value) && ! ::boost::is_volatile<T>::value && ! ::boost::is_reference<T>::value)
130 …:boost::is_const<T>::value && !::boost::is_volatile<T>::value && ! ::boost::is_reference<T>::value)
190 # define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value)
202 …_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value && is…
266 # define BOOST_HAS_TRIVIAL_COPY(T) ((__has_trivial_copy(T) BOOST_INTEL_TT_OPTS) && !is_reference<…
271 …as_nothrow_copy(T) BOOST_INTEL_TT_OPTS) && !is_volatile<T>::value && !is_reference<T>::value && is…
278 …as_nothrow_copy(T) BOOST_INTEL_TT_OPTS) && !is_volatile<T>::value && !is_reference<T>::value && !i…
313 # define BOOST_HAS_TRIVIAL_COPY(T) (__oracle_has_trivial_copy(T) && !is_reference<T>::value)
[all …]
Dis_enum.hpp110 || ::boost::is_reference<T>::value
119 || ::boost::is_reference<T>::value
128 || ::boost::is_reference<T>::value
/third_party/boost/libs/hana/example/tutorial/
Dtype.cpp51 std::is_reference<mpl::_1>>>::type; in main()
61 using hana::traits::is_reference; // yet, so we use unqualified names for now in main()
67 return is_pointer(t) || is_reference(t); in main()
79 std::is_reference<mpl::_1>>>::type; in main()
92 using hana::traits::is_reference; in main()
99 return is_pointer(t) || is_reference(t); in main()
/third_party/boost/libs/gil/test/core/pixel/
Dpacked_pixel.cpp33 static_assert(std::is_reference<fixture::packed_pixel_gray3::reference>::value, in test_packed_pixel_gray3_definition()
36 static_assert(std::is_reference<fixture::packed_pixel_gray3::const_reference>::value, in test_packed_pixel_gray3_definition()
133 static_assert(std::is_reference<fixture::packed_pixel_bgr121::reference>::value, in test_packed_pixel_bgr121_definition()
136 static_assert(std::is_reference<fixture::packed_pixel_bgr121::const_reference>::value, in test_packed_pixel_bgr121_definition()
230 static_assert(std::is_reference<fixture::packed_pixel_rgb535::reference>::value, in test_packed_pixel_rgb535_definition()
233 static_assert(std::is_reference<fixture::packed_pixel_rgb535::const_reference>::value, in test_packed_pixel_rgb535_definition()
/third_party/boost/libs/fusion/test/algorithm/
Dfold.hpp71 BOOST_MPL_ASSERT((typename boost::is_reference<State>::type));
72 BOOST_MPL_ASSERT((typename boost::is_reference<T>::type));
103 BOOST_MPL_ASSERT((typename boost::is_reference<State>::type));
104 BOOST_MPL_ASSERT((typename boost::is_reference<T>::type));
/third_party/boost/boost/detail/
Dindirect_traits.hpp88 is_reference<T>::value &&
113 is_reference<T>::value &&
165 is_reference<T>::value &&
/third_party/boost/boost/phoenix/core/detail/
Dfunction_eval.hpp134 , typename mpl::if_<is_reference<A>, A, A const &>::type...
143 typename mpl::if_<is_reference<F>, F, F const &>::type in operator ()()
144 , typename mpl::if_<is_reference<A>, A, A const &>::type... in operator ()()
/third_party/boost/libs/type_traits/examples/
Diter_swap_example.cpp69 ::boost::is_reference<r1_t>::value in iter_swap()
70 && ::boost::is_reference<r2_t>::value in iter_swap()
/third_party/boost/boost/phoenix/core/
Dactor.hpp193 , typename mpl::if_<is_reference<A>, A, A const &>::type...
204 , typename mpl::if_<is_reference<A>, A, A const &>::type... in operator ()()
219 , typename mpl::if_<is_reference<A>, A, A const &>::type... in operator ()()
/third_party/boost/boost/interprocess/detail/
Dtype_traits.hpp45 struct is_reference struct
51 struct is_reference<T&> struct
/third_party/boost/boost/spirit/home/x3/nonterminal/detail/
Dtransform_attribute.hpp85 static_assert(!std::is_reference<Exposed>::value,
87 static_assert(!std::is_reference<Transformed>::value,
/third_party/boost/boost/hof/
Dalways.hpp94 …noexcept(std::is_reference<result_type>::value || BOOST_HOF_IS_NOTHROW_COPY_CONSTRUCTIBLE(result_t… in operator ()()
114 …noexcept(std::is_reference<result_type>::value || BOOST_HOF_IS_NOTHROW_COPY_CONSTRUCTIBLE(result_t… in operator ()()
/third_party/boost/boost/python/detail/
Dtype_traits.hpp57 using boost::is_reference;
90 using std::is_reference;
/third_party/boost/boost/dll/
Dshared_library.hpp351 …inline typename boost::enable_if_c<boost::is_member_pointer<T>::value || boost::is_reference<T>::v… in get()
357 …inline typename boost::disable_if_c<boost::is_member_pointer<T>::value || boost::is_reference<T>::… in get()
363 …inline typename boost::enable_if_c<boost::is_member_pointer<T>::value || boost::is_reference<T>::v… in get()
371 …inline typename boost::disable_if_c<boost::is_member_pointer<T>::value || boost::is_reference<T>::… in get()
/third_party/boost/boost/spirit/home/classic/core/
Dmatch.hpp69 is_reference<T>::value
121 impl::match_attr_traits<T>::set_value(val, val_, is_reference<T>()); in value()
/third_party/boost/boost/dll/detail/
Daggressive_ptr_cast.hpp36 …ame boost::disable_if_c<boost::is_member_pointer<To>::value || boost::is_reference<To>::value || b…
64 BOOST_FORCEINLINE typename boost::disable_if_c<!boost::is_reference<To>::value || boost::is_member_…
/third_party/boost/boost/type_erasure/detail/
Dconst.hpp53 ::boost::is_reference<
85 typedef typename ::boost::mpl::if_< ::boost::is_reference<Placeholder>,
/third_party/boost/boost/hof/detail/
Dintrinsics.hpp58 …(...) (std::is_nothrow_copy_constructible<__VA_ARGS__>::value || std::is_reference<__VA_ARGS__>::v…
93 : std::conditional<(std::is_reference<T>::value),
/third_party/boost/libs/asio/include/boost/asio/detail/
Dtype_traits.hpp76 using std::is_reference;
124 using boost::is_reference;
/third_party/boost/boost/asio/detail/
Dtype_traits.hpp76 using std::is_reference;
124 using boost::is_reference;
/third_party/boost/boost/move/
Dunique_ptr.hpp89 template <class P, class D, bool = bmupmu::is_unary_function<D>::value || bmupmu::is_reference<D>::…
247 template<class D, class E, bool IsReference = bmupmu::is_reference<D>::value>
259 < ::boost::has_move_emulation_enabled<T>::value && !bmupmu::is_reference<T>::value
398 BOOST_STATIC_ASSERT(!bmupmu::is_reference<D>::value); in unique_ptr()
409 BOOST_STATIC_ASSERT(!bmupmu::is_reference<D>::value); in unique_ptr()
438 BOOST_STATIC_ASSERT(!bmupmu::is_reference<D>::value);
/third_party/boost/boost/spirit/home/support/
Dadapt_adt_attributes.hpp77 , typename enable_if<is_reference<
211 typedef typename mpl::if_c<is_reference<get_return_type>::value
260 , typename disable_if<is_reference<
290 , typename enable_if<is_reference<

1234567