Home
last modified time | relevance | path

Searched refs:yes_type (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/boost/boost/range/detail/
Dsfinae.hpp24 using type_traits::yes_type;
31 yes_type is_string_impl( const char* const );
32 yes_type is_string_impl( const wchar_t* const );
36 yes_type is_char_array_impl( char BOOST_RANGE_ARRAY_REF()[sz] );
38 yes_type is_char_array_impl( const char BOOST_RANGE_ARRAY_REF()[sz] );
42 yes_type is_wchar_t_array_impl( wchar_t BOOST_RANGE_ARRAY_REF()[sz] );
44 yes_type is_wchar_t_array_impl( const wchar_t BOOST_RANGE_ARRAY_REF()[sz] );
47 yes_type is_char_ptr_impl( char* const );
50 yes_type is_const_char_ptr_impl( const char* const );
53 yes_type is_wchar_t_ptr_impl( wchar_t* const );
[all …]
Dcommon.hpp65 …is_pair_ = sizeof( boost::range_detail::is_pair_impl( c ) ) == sizeof( yes_type ) );
66 …r_ptr_ = sizeof( boost::range_detail::is_char_ptr_impl( ptr ) ) == sizeof( yes_type ) );
67 …r_ptr_ = sizeof( boost::range_detail::is_const_char_ptr_impl( ptr ) ) == sizeof( yes_type ) );
68 …t_ptr_ = sizeof( boost::range_detail::is_wchar_t_ptr_impl( ptr ) ) == sizeof( yes_type ) );
69 …t_ptr_ = sizeof( boost::range_detail::is_const_wchar_t_ptr_impl( ptr ) ) == sizeof( yes_type ) );
70 …array_ = sizeof( boost::range_detail::is_char_array_impl( ptr ) ) == sizeof( yes_type ) );
71 …array_ = sizeof( boost::range_detail::is_wchar_t_array_impl( ptr ) ) == sizeof( yes_type ) );
/third_party/boost/boost/type_traits/detail/
Dis_mem_fun_pointer_tester.hpp46 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)());
48 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)() const);
50 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)() volatile);
52 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)() const volatile);
55 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)(...));
57 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)(...) const);
59 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)(...) volatile);
61 yes_type is_mem_fun_pointer_tester(R(T::*const volatile*)(...) const volatile);
65 yes_type is_mem_fun_pointer_tester(R(__stdcall T::*const volatile*)());
67 yes_type is_mem_fun_pointer_tester(R(__stdcall T::*const volatile*)() const);
[all …]
Dis_function_ptr_tester.hpp47 yes_type is_function_ptr_tester(R(*)());
50 yes_type is_function_ptr_tester(R(*)(...));
54 yes_type is_function_ptr_tester(R(__stdcall*)());
57 yes_type is_function_ptr_tester(R(__vectorcall*)());
61 yes_type is_function_ptr_tester(R(__fastcall*)());
64 yes_type is_function_ptr_tester(R(__cdecl*)());
67 yes_type is_function_ptr_tester(R(*)(T0));
70 yes_type is_function_ptr_tester(R(*)(T0 ...));
74 yes_type is_function_ptr_tester(R(__stdcall*)(T0));
77 yes_type is_function_ptr_tester(R(__vectorcall*)(T0));
[all …]
Dhas_postfix_operator.hpp132 static ::boost::type_traits::yes_type returns_void(returns_void_t);
134 …BOOST_STATIC_CONSTANT(bool, value = (sizeof(::boost::type_traits::yes_type)==sizeof(returns_void((…
176 …static ::boost::type_traits::yes_type is_convertible_to_Ret(Ret); // this version is preferred for…
179 …of(is_convertible_to_Ret(make<Lhs>() BOOST_TT_TRAIT_OP))==sizeof(::boost::type_traits::yes_type)));
194 …static ::boost::type_traits::yes_type s_check(has_operator); // this version is preferred when ope…
197 …((make<Lhs>() BOOST_TT_TRAIT_OP),make<has_operator>())))==sizeof(::boost::type_traits::yes_type)));
Dhas_prefix_operator.hpp161 static ::boost::type_traits::yes_type returns_void(returns_void_t);
163 …BOOST_STATIC_CONSTANT(bool, value = (sizeof(::boost::type_traits::yes_type)==sizeof(returns_void((…
205 …static ::boost::type_traits::yes_type is_convertible_to_Ret(Ret); // this version is preferred for…
208 …of(is_convertible_to_Ret(BOOST_TT_TRAIT_OP make<Rhs>()))==sizeof(::boost::type_traits::yes_type)));
223 …static ::boost::type_traits::yes_type s_check(has_operator); // this version is preferred when ope…
226 …((BOOST_TT_TRAIT_OP make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type)));
/third_party/boost/boost/type_traits/
Dhas_new_operator.hpp36 static type_traits::yes_type check_sig1(
47 static type_traits::yes_type check_sig2(
58 static type_traits::yes_type check_sig3(
70 static type_traits::yes_type check_sig4(
81 static type_traits::yes_type check_sig5(
92 static type_traits::yes_type check_sig6(
129 (s1 == sizeof(type_traits::yes_type)) ||
130 (s2 == sizeof(type_traits::yes_type)) ||
131 (s3 == sizeof(type_traits::yes_type)) ||
132 (s4 == sizeof(type_traits::yes_type)) ||
[all …]
Dis_convertible.hpp114 static ::boost::type_traits::yes_type BOOST_TT_DECL _m_check(T);
119 == sizeof(::boost::type_traits::yes_type);
138 static boost::type_traits::yes_type _m_check(T, int);
150 == sizeof(::boost::type_traits::yes_type);
154 == sizeof(::boost::type_traits::yes_type);
184 static ::boost::type_traits::yes_type BOOST_TT_DECL _m_check(To, int);
191 … sizeof( _m_check(static_cast<rvalue_type>(_m_from), 0) ) == sizeof(::boost::type_traits::yes_type)
195 sizeof( _m_check(_m_from, 0) ) == sizeof(::boost::type_traits::yes_type)
218 static ::boost::type_traits::yes_type BOOST_TT_DECL _m_check(To, int, int);
227 …zeof( _m_check(static_cast<rvalue_type>(_m_from), 0, 0) ) == sizeof(::boost::type_traits::yes_type)
[all …]
Dis_constructible.hpp33 static boost::type_traits::yes_type test(int);
38 static boost::type_traits::yes_type test1(int);
43 static boost::type_traits::yes_type ref_test(T);
50 … sizeof(detail::is_constructible_imp::test<T, Args...>(0)) == sizeof(boost::type_traits::yes_type)>
54 …eof(boost::detail::is_constructible_imp::test1<T, Arg>(0)) == sizeof(boost::type_traits::yes_type)>
58 …nstructible_imp::ref_test<Ref&>(boost::declval<Arg>())) == sizeof(boost::type_traits::yes_type)>{};
59 …structible_imp::ref_test<Ref&&>(boost::declval<Arg>())) == sizeof(boost::type_traits::yes_type)>{};
Dis_copy_assignable.hpp45 typedef boost::type_traits::yes_type yes_type; typedef
49 static decltype(::boost::declval<U&>() = ::boost::declval<const U&>(), yes_type() ) test(int);
54 static const bool value = sizeof(test<T>(0)) == sizeof(yes_type);
62 static boost::type_traits::yes_type test(...);
95 sizeof(test(produce())) == sizeof(boost::type_traits::yes_type)
Dis_class.hpp50 template <class U> ::boost::type_traits::yes_type is_class_tester(void(U::*)(void));
58 sizeof(is_class_tester<T>(0)) == sizeof(::boost::type_traits::yes_type)
68 template <class U> static ::boost::type_traits::yes_type is_class_tester(void(U::*)(void));
72 sizeof(is_class_tester<T>(0)) == sizeof(::boost::type_traits::yes_type)
Dis_copy_constructible.hpp97 …static boost::type_traits::yes_type test(const T1&, boost::mpl::int_<sizeof(T1(boost::declval<cons…
100 …static boost::type_traits::yes_type test(const T1&, decltype(T1(boost::declval<const T1&>()))* = 0…
107 static boost::type_traits::yes_type test(...);
144 )) == sizeof(boost::type_traits::yes_type)
/third_party/boost/libs/range/test/
Dpartial_workaround.cpp44 using type_traits::yes_type; in check_partial_workaround()
55 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_string_impl( c_ptr ) ) ); in check_partial_workaround()
56 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_string_impl( cc_ptr ) ) ); in check_partial_workaround()
57 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_string_impl( w_ptr ) ) ); in check_partial_workaround()
58 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_string_impl( cw_ptr ) ) ); in check_partial_workaround()
60 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_char_ptr_impl( c_ptr ) ) ); in check_partial_workaround()
63 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_wchar_t_ptr_impl( w_ptr ) ) ); in check_partial_workaround()
66 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_const_char_ptr_impl( c_ptr ) ) ); in check_partial_workaround()
67 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_const_char_ptr_impl( cc_ptr ) ) ); in check_partial_workaround()
69 BOOST_STATIC_ASSERT( sizeof( yes_type ) == sizeof( is_const_wchar_t_ptr_impl( w_ptr ) ) ); in check_partial_workaround()
[all …]
/third_party/boost/boost/intrusive/detail/
Dhas_member_function_callable_with.hpp36 typedef char yes_type; typedef
64 yes_type is_private_type(private_type const &);
121 , boost_intrusive_hmfcw::yes_type()) Test(U* f); in BOOST_MOVE_CAT()
124 … static const bool value = sizeof(Test<Fun>((Fun*)0)) == sizeof(boost_intrusive_hmfcw::yes_type); in BOOST_MOVE_CAT()
156 static boost_intrusive_hmfcw::yes_type deduce(...);
159 static const bool value = sizeof(boost_intrusive_hmfcw::yes_type) == sizeof(deduce((Base*)0));
239 , boost_intrusive_hmfcw::yes_type()) Test(U* f);
243 … static const bool value = sizeof(Test<Fun>((Fun*)0)) == sizeof(boost_intrusive_hmfcw::yes_type);
252 { boost_intrusive_hmfcw::yes_type dummy[N ? 1 : 2]; };
260 … static const bool value = sizeof(Test< Fun >(0)) == sizeof(boost_intrusive_hmfcw::yes_type);
[all …]
Dmpl.hpp62 using boost::move_detail::yes_type;
158 struct two_or_three {yes_type _[2 + Add];};\
159 template <class U> static yes_type test(...);\
167 static const bool value = TRAITS_PREFIX##_bool<T>::value > sizeof(yes_type)*2;\
178 static ::boost::intrusive::detail::yes_type test(helper<&T::FUNC_NAME>*); \
181 static const bool value = sizeof(test<U>(0)) == sizeof(::boost::intrusive::detail::yes_type); \
197 static ::boost::intrusive::detail::yes_type test(...); \
198 …static const bool value = sizeof(::boost::intrusive::detail::yes_type) == sizeof(test((Base*)(0)))…
/third_party/boost/boost/tti/detail/
Ddstatic_mem_data.hpp38 static ::boost::type_traits::yes_type check2(BOOST_TTI_DETAIL_TP_V *); \
47 …_U,BOOST_TTI_DETAIL_TP_V>(&BOOST_TTI_DETAIL_TP_U::name))==sizeof(::boost::type_traits::yes_type), \
48 ::boost::type_traits::yes_type \
59 …r<BOOST_TTI_DETAIL_TP_V,BOOST_TTI_DETAIL_TP_U>(0))==sizeof(::boost::type_traits::yes_type)> type; \
76 static ::boost::type_traits::yes_type chkt(helper<&BOOST_TTI_DETAIL_TP_U::name> *); \
81 …BOOST_TTI_DETAIL_TP_T>(BOOST_TTI_DETAIL_NULLPTR))==sizeof(::boost::type_traits::yes_type))> type; \
/third_party/boost/boost/convert/detail/
Dis_callable.hpp12 typedef ::boost::type_traits::yes_type yes_type; typedef
31 static yes_type test (return_type);
37 static yes_type test (...);
77 static bool const value = sizeof(boost::type_traits::yes_type) \
88 static bool const value = sizeof(boost::type_traits::yes_type) \
Dhas_member.hpp44 typedef ::boost::type_traits::yes_type yes_type; \
53 template <typename U> static yes_type test(...); \
57 BOOST_STATIC_CONSTANT(bool, value = (sizeof(yes_type) == sizeof(test<mixin>(0)))); \
Dis_fun.hpp18 typedef ::boost::type_traits::yes_type yes_type; typedef
30 static yes_type test (TypeOut const&);
33 static const bool value = sizeof(yes_type) == sizeof(test(((Functor*) 0)->operator()()));
/third_party/boost/boost/container/
Duses_allocator.hpp123 typedef char yes_type; typedef
129 static yes_type test(typename U::allocator_type);
135 , yes_type
145 static const bool value = sizeof(test<T>(alloc)) == sizeof(yes_type);
/third_party/boost/boost/python/
Dto_python_converter.hpp22 typedef char yes_type;
27 template<class T> yes_type tester(test_get_pytype1<&T::get_pytype>*);
29 template<class T> yes_type tester(test_get_pytype2<&T::get_pytype>*);
36 BOOST_STATIC_CONSTANT(bool, value= (sizeof(detail::tester<T>(0)) == sizeof(yes_type)));
/third_party/boost/libs/intrusive/test/
Dtest_macros.hpp26 typedef char yes_type; typedef
28 struct two { yes_type _[1+IsMultikey]; };
29 template <class U> static yes_type test(...);
31 static const bool value = sizeof(test<T>(0)) != sizeof(yes_type);
/third_party/boost/libs/optional/test/
Doptional_test_constructible_from_other.cpp18 struct yes_type struct
32 static yes_type check_helper(size_tag< sizeof(static_cast< T1 >(get())) >*); argument
36 static const bool value = sizeof(check_helper< T >(0)) == sizeof(yes_type);
/third_party/boost/boost/range/
Dsize_type.hpp42 struct yes_type { char dummy[2]; }; struct in boost::detail::has_size_type
45 static yes_type test(BOOST_DEDUCED_TYPENAME C::size_type x);
51 static const bool value = sizeof(test<T>(0)) == sizeof(yes_type);
/third_party/boost/boost/log/support/
Dspirit_classic.hpp67 typedef char yes_type; typedef
71 static yes_type check_spirit_classic_parser(spirit::classic::parser< U > const&);
76 enum { value = sizeof(check_spirit_classic_parser(get_T())) == sizeof(yes_type) };

1234