/third_party/boost/libs/type_traits/test/ |
D | is_convertible_test.cpp | 33 test_bug_4530(A&&, typename boost::enable_if_< ::tt::is_convertible<A&&, T>::value >::type* =0); 73 TT_TEST_BEGIN(is_convertible) 75 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<Derived,Base>::value), true); 76 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<Derived,Derived>::value), true); 77 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<Base,Base>::value), true); 78 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<Base,Derived>::value), false); 79 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<Derived,Derived>::value), true); 80 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<NonDerived,Base>::value), false); 81 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<float,int>::value), true); 82 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<virtual_inherit2,virtual_inherit1>::value), tru… [all …]
|
/third_party/boost/libs/fusion/test/sequence/ |
D | traits.hpp | 27 bool is_convertible(bool has_conversion) in is_convertible() function 36 boost::is_convertible<from_rvalue, To>::value == has_conversion && in is_convertible() 37 boost::is_convertible<from_lvalue, To>::value == has_conversion && in is_convertible() 38 boost::is_convertible<from_const_lvalue, To>::value == has_conversion; in is_convertible() 142 BOOST_TEST((is_convertible<int, FUSION_SEQUENCE<> >(false))); in test_convertible() 143 BOOST_TEST((is_convertible<int, FUSION_SEQUENCE<int> >(false))); in test_convertible() 144 BOOST_TEST((is_convertible<int, FUSION_SEQUENCE<const int&> >(false))); in test_convertible() 145 BOOST_TEST((is_convertible<int, FUSION_SEQUENCE<convertible> >(false))); in test_convertible() 147 is_convertible<int, FUSION_SEQUENCE<const convertible&> >(false) in test_convertible() 149 BOOST_TEST((is_convertible<int, FUSION_SEQUENCE<int, int> >(false))); in test_convertible() [all …]
|
/third_party/boost/libs/smart_ptr/test/ |
D | lsp_convertible_test2.cpp | 29 using boost::is_convertible; 32 BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \ 33 BOOST_TEST(( is_convertible< S1<T>, S2<const U> >::value == true )); \ 34 BOOST_TEST(( is_convertible< S1<T>, S2<volatile U> >::value == true )); \ 35 BOOST_TEST(( is_convertible< S1<T>, S2<const volatile U> >::value == true )); \ 36 BOOST_TEST(( is_convertible< S1<const T>, S2<U> >::value == false )); \ 37 BOOST_TEST(( is_convertible< S1<const T>, S2<const U> >::value == true )); \ 38 BOOST_TEST(( is_convertible< S1<const T>, S2<volatile U> >::value == false )); \ 39 BOOST_TEST(( is_convertible< S1<const T>, S2<const volatile U> >::value == true )); \ 40 BOOST_TEST(( is_convertible< S1<volatile T>, S2<U> >::value == false )); \ [all …]
|
D | lsp_convertible_test.cpp | 29 using boost::is_convertible; 32 BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \ 33 BOOST_TEST(( is_convertible< S1<T>, S2<const U> >::value == true )); \ 34 BOOST_TEST(( is_convertible< S1<T>, S2<volatile U> >::value == true )); \ 35 BOOST_TEST(( is_convertible< S1<T>, S2<const volatile U> >::value == true )); \ 36 BOOST_TEST(( is_convertible< S1<const T>, S2<U> >::value == false )); \ 37 BOOST_TEST(( is_convertible< S1<const T>, S2<const U> >::value == true )); \ 38 BOOST_TEST(( is_convertible< S1<const T>, S2<volatile U> >::value == false )); \ 39 BOOST_TEST(( is_convertible< S1<const T>, S2<const volatile U> >::value == true )); \ 40 BOOST_TEST(( is_convertible< S1<volatile T>, S2<U> >::value == false )); \ [all …]
|
D | sp_convertible_test2.cpp | 28 using boost::is_convertible; 31 BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \ 32 BOOST_TEST(( is_convertible< S1<T>, S2<const U> >::value == true )); \ 33 BOOST_TEST(( is_convertible< S1<T>, S2<volatile U> >::value == true )); \ 34 BOOST_TEST(( is_convertible< S1<T>, S2<const volatile U> >::value == true )); \ 35 BOOST_TEST(( is_convertible< S1<const T>, S2<U> >::value == false )); \ 36 BOOST_TEST(( is_convertible< S1<const T>, S2<const U> >::value == true )); \ 37 BOOST_TEST(( is_convertible< S1<const T>, S2<volatile U> >::value == false )); \ 38 BOOST_TEST(( is_convertible< S1<const T>, S2<const volatile U> >::value == true )); \ 39 BOOST_TEST(( is_convertible< S1<volatile T>, S2<U> >::value == false )); \ [all …]
|
/third_party/boost/boost/gil/extension/numeric/ |
D | channel_numeric_operations.hpp | 38 static_assert(std::is_convertible<ChannelRef1, ChannelResult>::value, 40 static_assert(std::is_convertible<ChannelRef2, ChannelResult>::value, 59 static_assert(std::is_convertible<ChannelRef1, ChannelResult>::value, 61 static_assert(std::is_convertible<ChannelRef2, ChannelResult>::value, 80 static_assert(std::is_convertible<ChannelRef1, ChannelResult>::value, 82 static_assert(std::is_convertible<ChannelRef2, ChannelResult>::value, 101 static_assert(std::is_convertible<ChannelRef1, ChannelResult>::value, 103 static_assert(std::is_convertible<ChannelRef2, ChannelResult>::value, 121 static_assert(std::is_convertible<ChannelRef, ChannelResult>::value, 124 static_assert(std::is_convertible<Scalar, ChannelResult>::value, [all …]
|
/third_party/boost/libs/type_traits/doc/ |
D | is_convertible.qbk | 8 [section:is_convertible is_convertible] 10 struct is_convertible : public __tof {}; 23 `is_convertible<From, To>` will produce a compiler error. For this reason `is_convertible` 34 bool const y = boost::is_convertible<D*,A*>::value; 40 __header ` #include <boost/type_traits/is_convertible.hpp>` or ` #include <boost/type_traits.hpp>` 44 [:`is_convertible<int, double>` inherits from `__true_type`.] 46 [:`is_convertible<const int, double>::type` is the type `__true_type`.] 48 [:`is_convertible<int* const, int*>::value` is an integral constant 51 [:`is_convertible<int const*, int*>::value` is an integral constant 54 [:`is_convertible<int const&, long>::value` is an integral constant [all …]
|
/third_party/boost/boost/iterator/ |
D | iterator_categories.hpp | 80 is_convertible<Cat,std::random_access_iterator_tag> 83 is_convertible<Cat,std::bidirectional_iterator_tag> 86 is_convertible<Cat,std::forward_iterator_tag> 89 is_convertible<Cat,std::input_iterator_tag> 92 is_convertible<Cat,std::output_iterator_tag> 110 is_convertible<Cat,incrementable_traversal_tag> 149 is_convertible<Traversal,random_access_traversal_tag> 152 is_convertible<Traversal,bidirectional_traversal_tag> 155 is_convertible<Traversal,forward_traversal_tag> 158 is_convertible<Traversal,single_pass_traversal_tag> [all …]
|
/third_party/boost/boost/iterator/detail/ |
D | facade_iterator_category.hpp | 89 , is_convertible<Traversal,forward_traversal_tag> 92 is_convertible<Traversal,random_access_traversal_tag> 95 is_convertible<Traversal,bidirectional_traversal_tag> 102 is_convertible<Traversal, single_pass_traversal_tag> 105 , is_convertible<Reference, ValueParam> 118 is_convertible<T,std::input_iterator_tag> 119 , is_convertible<T,std::output_iterator_tag> 126 : is_convertible<T,incrementable_traversal_tag> 143 is_convertible<
|
/third_party/boost/boost/iostreams/ |
D | compose.hpp | 48 is_convertible<SecondMode, FirstMode>, FirstMode, 49 is_convertible<FirstMode, SecondMode>, SecondMode, 50 is_convertible<SecondMode, input>, input, 134 !(is_convertible<first_mode, dual_use>::value) || 135 !(is_convertible<second_mode, input>::value) || 136 !(is_convertible<second_mode, output>::value) || 137 (is_convertible<second_mode, dual_use>::value) 140 !(is_convertible<second_mode, dual_use>::value) || 141 !(is_convertible<first_mode, input>::value) || 142 !(is_convertible<first_mode, output>::value) || [all …]
|
D | skip.hpp | 77 is_convertible<mode, input_seekable>, in skip() 78 is_convertible<mode, output_seekable> in skip() 81 (can_seek::value || is_convertible<mode, input>::value) in skip() 94 is_convertible<filter_mode, input_seekable>, in skip() 95 is_convertible<device_mode, input_seekable> in skip() 98 is_convertible<filter_mode, output_seekable>, in skip() 99 is_convertible<device_mode, output_seekable> in skip() 104 (is_convertible<filter_mode, input>::value && in skip() 105 is_convertible<device_mode, input>::value) ) in skip()
|
D | concepts.hpp | 41 BOOST_STATIC_ASSERT((!is_convertible<Mode, two_sequence>::value)); in close() 47 BOOST_STATIC_ASSERT((is_convertible<Mode, two_sequence>::value)); in close() 78 BOOST_STATIC_ASSERT((!is_convertible<Mode, two_sequence>::value)); in close() 79 BOOST_STATIC_ASSERT((!is_convertible<Mode, dual_use>::value)); in close() 87 (is_convertible<Mode, two_sequence>::value) || in close() 88 (is_convertible<Mode, dual_use>::value) in close()
|
D | close.hpp | 133 mpl::not_< is_convertible<category, closable_tag> >, 146 is_convertible<category, two_sequence>, 147 is_convertible<category, dual_use> 204 const bool in = is_convertible<category, input>::value && in close() 205 !is_convertible<category, output>::value; in close() 217 const bool in = is_convertible<category, input>::value && in close() 218 !is_convertible<category, output>::value; in close() 226 const bool in = is_convertible<category, input>::value && in close() 227 !is_convertible<category, output>::value; in close()
|
D | stream.hpp | 36 is_convertible<mode, input>, 37 is_convertible<mode, output> 40 is_convertible<mode, input>, 48 is_convertible<mode, input>, 49 is_convertible<mode, output> 52 is_convertible<mode, input>,
|
D | filtering_stream.hpp | 42 is_convertible<Mode, input>, 43 is_convertible<Mode, output> 46 is_convertible<Mode, input>, 54 is_convertible<Mode, input>, 55 is_convertible<Mode, output> 58 is_convertible<Mode, input>,
|
/third_party/boost/libs/multiprecision/test/ |
D | test_float_conversions.cpp | 22 BOOST_STATIC_ASSERT((boost::is_convertible<float, cpp_bin_float_single>::value)); in main() 23 BOOST_STATIC_ASSERT(!(boost::is_convertible<double, cpp_bin_float_single>::value)); in main() 24 BOOST_STATIC_ASSERT(!(boost::is_convertible<long double, cpp_bin_float_single>::value)); in main() 31 BOOST_STATIC_ASSERT(!(boost::is_convertible<float, cpp_bin_float_half>::value)); in main() 32 BOOST_STATIC_ASSERT(!(boost::is_convertible<double, cpp_bin_float_half>::value)); in main() 33 BOOST_STATIC_ASSERT(!(boost::is_convertible<long double, cpp_bin_float_half>::value)); in main() 35 BOOST_STATIC_ASSERT(!(boost::is_convertible<__float128, cpp_bin_float_half>::value)); in main()
|
/third_party/boost/boost/iostreams/detail/ |
D | dispatch.hpp | 30 is_convertible<Category, Tag1>, Tag1, 31 is_convertible<Category, Tag2>, Tag2, 32 is_convertible<Category, Tag3>, Tag3, 33 is_convertible<Category, Tag4>, Tag4, 34 is_convertible<Category, Tag5>, Tag5, 35 is_convertible<Category, Tag6>, Tag6
|
/third_party/boost/libs/parameter/test/ |
D | normalized_argument_types.cpp | 84 std::is_convertible<x_type,long>::value 88 std::is_convertible<y_type,long>::value 94 boost::is_convertible<x_type,long> 101 boost::is_convertible<y_type,long> 123 std::is_convertible<x_type,test::count_instances>::value 129 boost::is_convertible<x_type,test::count_instances> 150 std::is_convertible<x_type,test::count_instances const>::value 156 boost::is_convertible<x_type,test::count_instances const>
|
/third_party/boost/boost/thread/detail/ |
D | is_convertible.hpp | 23 struct is_convertible : boost::is_convertible<T1,T2> {}; struct 31 struct is_convertible< struct 40 struct is_convertible<T1&, T2&> : boost::is_convertible<T1, T2> {}; struct
|
/third_party/boost/boost/graph/ |
D | graph_mutability_traits.hpp | 93 is_convertible< typename graph_mutability_traits< Graph >::category, 101 is_convertible< typename graph_mutability_traits< Graph >::category, 109 is_convertible< typename graph_mutability_traits< Graph >::category, 117 is_convertible< typename graph_mutability_traits< Graph >::category, 125 is_convertible< typename graph_mutability_traits< Graph >::category, 133 is_convertible< typename graph_mutability_traits< Graph >::category, 180 is_convertible< typename graph_mutability_traits< Graph >::category,
|
/third_party/boost/boost/graph/detail/ |
D | labeled_graph_traits.hpp | 88 is_convertible< typename graph_mutability_traits< Graph >::category, 96 is_convertible< typename graph_mutability_traits< Graph >::category, 104 is_convertible< typename graph_mutability_traits< Graph >::category, 112 is_convertible< typename graph_mutability_traits< Graph >::category, 120 is_convertible< typename graph_mutability_traits< Graph >::category, 128 is_convertible< typename graph_mutability_traits< Graph >::category, 178 is_convertible< typename graph_mutability_traits< Graph >::category, 186 is_convertible< typename graph_mutability_traits< Graph >::category,
|
/third_party/boost/boost/asio/ |
D | co_spawn.hpp | 111 && is_convertible<Executor, AwaitableExecutor>::value 167 && is_convertible<Executor, AwaitableExecutor>::value 232 is_convertible<ExecutionContext&, execution_context&>::value 233 && is_convertible<typename ExecutionContext::executor_type, 291 is_convertible<ExecutionContext&, execution_context&>::value 292 && is_convertible<typename ExecutionContext::executor_type, 461 is_convertible<ExecutionContext&, execution_context&>::value
|
/third_party/boost/libs/asio/include/boost/asio/ |
D | co_spawn.hpp | 111 && is_convertible<Executor, AwaitableExecutor>::value 167 && is_convertible<Executor, AwaitableExecutor>::value 232 is_convertible<ExecutionContext&, execution_context&>::value 233 && is_convertible<typename ExecutionContext::executor_type, 291 is_convertible<ExecutionContext&, execution_context&>::value 292 && is_convertible<typename ExecutionContext::executor_type, 461 is_convertible<ExecutionContext&, execution_context&>::value
|
/third_party/boost/boost/multiprecision/traits/ |
D | is_backend.hpp | 38 boost::is_convertible<V, number<B> >::value, 51 …static const bool value = is_convertible<U, number<T, et_on> >::value || is_convertible<U, number<… 66 …static const bool value = (is_convertible<T, number<U, et_on> >::value || is_convertible<T, number…
|
/third_party/boost/libs/iterator/test/ |
D | unit_tests.cpp | 42 !boost::is_convertible< in category_test() 47 !boost::is_convertible< in category_test() 52 boost::is_convertible< in category_test() 57 boost::is_convertible< in category_test() 64 boost::is_convertible< in category_test()
|