/third_party/boost/libs/type_traits/test/ |
D | is_const_test.cpp | 15 TT_TEST_BEGIN(is_const) 17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<void>::value, false); 18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<const void>::value, true); 19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<test_abc1>::value, false); 20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<const test_abc1>::value, true); 21 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<int>::value, false); 22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<const int>::value, true); 23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<const UDT>::value, true); 24 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<const volatile UDT>::value, true); 25 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_const<const int&>::value, false); [all …]
|
/third_party/boost/boost/parameter/aux_/preprocessor/impl/ |
D | function_name.hpp | 75 #define BOOST_PARAMETER_FUNCTION_SPECIFICATION_NAME(base, is_const) \ argument 79 is_const \ 91 #define BOOST_PARAMETER_NO_SPEC_FUNCTION_RESULT_NAME(base, is_const) \ argument 95 is_const \ 106 #define BOOST_PARAMETER_FUNCTION_RESULT_NAME(base, is_const) \ argument 110 is_const \ 122 #define BOOST_PARAMETER_NO_SPEC_FUNCTION_IMPL_NAME(base, is_const) \ argument 126 is_const \ 141 #define BOOST_PARAMETER_FUNCTION_IMPL_NAME(base, is_const) \ argument 144 BOOST_PP_IF(is_const, boost_param_impl_const, boost_param_impl) \
|
D | no_spec_overloads.hpp | 12 #define BOOST_PARAMETER_NO_SPEC_FUNCTION_IMPL_HEAD(name, is_const) \ argument 16 name, is_const \ 28 #define BOOST_PARAMETER_NO_SPEC_FUNCTION_HEAD(result, name, is_const) \ argument 30 using BOOST_PARAMETER_NO_SPEC_FUNCTION_RESULT_NAME(name, is_const) \ 34 #define BOOST_PARAMETER_NO_SPEC_FUNCTION_HEAD(result, name, is_const) \ argument 36 struct BOOST_PARAMETER_NO_SPEC_FUNCTION_RESULT_NAME(name, is_const) \ 125 #define BOOST_PARAMETER_NO_SPEC_FUNCTION_HEAD(result, name, is_const) \ argument 133 struct BOOST_PARAMETER_NO_SPEC_FUNCTION_RESULT_NAME(name, is_const) \
|
/third_party/boost/libs/type_traits/doc/ |
D | is_const.qbk | 8 [section:is_const is_const] 11 struct is_const : public __tof {}; 18 __header ` #include <boost/type_traits/is_const.hpp>` or ` #include <boost/type_traits.hpp>` 24 [:`is_const<int const>` inherits from `__true_type`.] 26 [:`is_const<int const volatile>::type` is the type `__true_type`.] 28 [:`is_const<int* const>::value` is an integral constant 31 [:`is_const<int const*>::value` is an integral constant 35 [:`is_const<int const&>::value` is an integral constant 39 [:`is_const<int>::value` is an integral constant 42 [:`is_const<T>::value_type` is the type `bool`.]
|
/third_party/boost/boost/parameter/ |
D | preprocessor.hpp | 24 #define BOOST_PARAMETER_FUNCTION_IMPL_HEAD(name, is_const) \ argument 26 typename BOOST_PARAMETER_FUNCTION_RESULT_NAME(name, is_const)< \ 28 >::type BOOST_PARAMETER_FUNCTION_IMPL_NAME(name, is_const)( \ 38 #define BOOST_PARAMETER_FUNCTION_HEAD(result, name, tag_ns, args, is_const) \ argument 40 using BOOST_PARAMETER_FUNCTION_RESULT_NAME(name, is_const) \ 42 BOOST_PARAMETER_SPECIFICATION(tag_ns, name, args, is_const) \ 43 BOOST_PARAMETER_FUNCTION_SPECIFICATION_NAME(name, is_const); 46 #define BOOST_PARAMETER_FUNCTION_HEAD(result, name, tag_ns, args, is_const) \ argument 48 struct BOOST_PARAMETER_FUNCTION_RESULT_NAME(name, is_const) \ 52 BOOST_PARAMETER_SPECIFICATION(tag_ns, name, args, is_const) \ [all …]
|
/third_party/boost/libs/mp11/test/ |
D | mp_any_of.cpp | 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L1, std::is_const>, mp_false>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L2, std::is_const>, mp_true>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L3, std::is_const>, mp_true>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L1, std::is_const>, mp_false>)); in main() 51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L2, std::is_const>, mp_true>)); in main() 56 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L3, std::is_const>, mp_true>)); in main() 63 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L2, std::is_const>, mp_true>)); in main() 68 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L3, std::is_const>, mp_true>)); in main()
|
D | mp_none_of.cpp | 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L1, std::is_const>, mp_true>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L2, std::is_const>, mp_false>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L3, std::is_const>, mp_false>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L1, std::is_const>, mp_true>)); in main() 51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L2, std::is_const>, mp_false>)); in main() 56 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L3, std::is_const>, mp_false>)); in main() 63 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L2, std::is_const>, mp_false>)); in main() 68 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L3, std::is_const>, mp_false>)); in main()
|
D | mp_any_of_q.cpp | 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L1, mp_quote<std::is_const>>, mp_false>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L3, mp_quote<std::is_const>>, mp_true>)); in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L1, mp_quote<std::is_const>>, mp_false>)); in main() 53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main() 58 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L3, mp_quote<std::is_const>>, mp_true>)); in main() 65 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main() 70 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L3, mp_quote<std::is_const>>, mp_true>)); in main()
|
D | mp_none_of_q.cpp | 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L2, mp_quote<std::is_const>>, mp_false>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L3, mp_quote<std::is_const>>, mp_false>)); in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main() 53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L2, mp_quote<std::is_const>>, mp_false>)); in main() 58 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L3, mp_quote<std::is_const>>, mp_false>)); in main() 65 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L2, mp_quote<std::is_const>>, mp_false>)); in main() 70 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L3, mp_quote<std::is_const>>, mp_false>)); in main()
|
D | mp_all_of.cpp | 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L1, std::is_const>, mp_true>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L2, std::is_const>, mp_true>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L1, std::is_const>, mp_true>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L2, std::is_const>, mp_true>)); in main() 53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L2, std::is_const>, mp_true>)); in main()
|
D | mp_all_of_q.cpp | 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main() 43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main() 55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main()
|
D | mp_not_fn.cpp | 14 template<class T> using is_const_ = std::is_const<T>; 18 template<class T> using fn = std::is_const<T>; 26 BOOST_TEST_TRAIT_TRUE((mp_not_fn<std::is_const>::fn<void>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_not_fn<std::is_const>::fn<void const>)); in main()
|
D | mp_find_if.cpp | 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if<L1, std::is_const>, mp_size_t<0>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if<L2, std::is_const>, mp_size_t<1>>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if<L1, std::is_const>, mp_size_t<0>>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if<L2, std::is_const>, mp_size_t<1>>)); in main() 54 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if<L2, std::is_const>, mp_size_t<0>>)); in main()
|
D | mp_count_if.cpp | 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L1, std::is_const>, mp_size_t<0>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_const>, mp_size_t<2>>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L1, std::is_const>, mp_size_t<0>>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_const>, mp_size_t<2>>)); in main() 54 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_const>, mp_size_t<1>>)); in main()
|
D | mp_count_if_q.cpp | 31 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if_q<L1, mp_quote<std::is_const>>, mp_size_t<0>>)); in main() 36 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if_q<L2, mp_quote<std::is_const>>, mp_size_t<2>>)); in main() 43 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if_q<L1, mp_quote<std::is_const>>, mp_size_t<0>>)); in main() 48 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if_q<L2, mp_quote<std::is_const>>, mp_size_t<2>>)); in main() 56 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if_q<L2, mp_quote<std::is_const>>, mp_size_t<1>>)); in main()
|
D | mp_find_if_q.cpp | 31 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if_q<L1, mp_quote<std::is_const>>, mp_size_t<0>>)); in main() 36 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if_q<L2, mp_quote<std::is_const>>, mp_size_t<1>>)); in main() 43 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if_q<L1, mp_quote<std::is_const>>, mp_size_t<0>>)); in main() 48 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if_q<L2, mp_quote<std::is_const>>, mp_size_t<1>>)); in main() 56 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find_if_q<L2, mp_quote<std::is_const>>, mp_size_t<0>>)); in main()
|
D | mp_replace_if.cpp | 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if<L1, std::is_const, void>, L1>)); in main() 32 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if<L2, std::is_const, void>, mp_list<X1, void, X1*,… in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if<L1, std::is_const, void>, L1>)); in main() 44 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if<L2, std::is_const, void>, std::tuple<X1, void, X… in main() 52 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if<L2, std::is_const, void>, std::pair<void, X1*>>)… in main()
|
D | mp_replace_if_q.cpp | 29 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if_q<L1, mp_quote<std::is_const>, void>, L1>)); in main() 34 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if_q<L2, mp_quote<std::is_const>, void>, mp_list<X1… in main() 41 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if_q<L1, mp_quote<std::is_const>, void>, L1>)); in main() 46 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if_q<L2, mp_quote<std::is_const>, void>, std::tuple… in main() 54 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_if_q<L2, mp_quote<std::is_const>, void>, std::pair<… in main()
|
D | mp_copy_if.cpp | 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_copy_if<L1, std::is_const>, L1>)); in main() 38 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_copy_if<L2, std::is_const>, mp_list<X1 const, X2 const>>)); in main() 45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_copy_if<L1, std::is_const>, L1>)); in main() 50 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_copy_if<L2, std::is_const>, std::tuple<X1 const, X2 const>>… in main()
|
D | mp_remove_if.cpp | 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove_if<L1, std::is_const>, L1>)); in main() 38 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove_if<L2, std::is_const>, mp_list<X1, X1*, X2*, X3*>>)); in main() 45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove_if<L1, std::is_const>, L1>)); in main() 50 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove_if<L2, std::is_const>, std::tuple<X1, X1*, X2*, X3*>… in main()
|
/third_party/boost/boost/type_traits/ |
D | is_const.hpp | 32 struct is_const : public integral_constant<bool, __is_const(T)> {}; struct 37 struct is_const : public false_type {}; 38 template <class T> struct is_const<T const> : public true_type{}; 39 template <class T, std::size_t N> struct is_const<T const[N]> : public true_type{}; 40 template <class T> struct is_const<T const[]> : public true_type{};
|
/third_party/boost/boost/geometry/views/detail/ |
D | normalized_view.hpp | 43 static const bool is_const = boost::is_const<Geometry>::value; member 52 is_const, 70 is_const, 85 is_const,
|
/third_party/boost/libs/utility/identity_type/test/ |
D | paren.cpp | 22 TMP_ASSERT_PAREN((boost::is_const<std::map<int, char> const>)); 25 TMP_ASSERT(BOOST_IDENTITY_TYPE((boost::is_const<std::map<int, char> const>))); 29 TMP_ASSERT_PAREN((boost::is_const<int const>)); // Always extra `((...))`. 31 TMP_ASSERT(boost::is_const<int const>); // No extra `((...))` and no macro.
|
/third_party/boost/boost/core/ |
D | swap.hpp | 37 template<class T> struct is_const { enum _vt { value = 0 }; }; struct 38 template<class T> struct is_const<T const> { enum _vt { value = 1 }; }; struct 63 …typename enable_if_c< !boost_swap_impl::is_const<T1>::value && !boost_swap_impl::is_const<T2>::val…
|
/third_party/boost/libs/fusion/test/sequence/ |
D | value_at.hpp | 86 boost::is_const<FUSION_VALUE_AT(seq_type, 0)::type>::value)); in test() 90 boost::is_const<FUSION_VALUE_AT(const seq_type, 0)::type>::value)); in test() 93 boost::is_const<FUSION_VALUE_AT(seq_type, 1)::type>::value)); in test() 97 boost::is_const<FUSION_VALUE_AT(const seq_type, 1)::type>::value)); in test()
|