Home
last modified time | relevance | path

Searched refs:pmf (Results 1 – 25 of 71) sorted by relevance

123

/third_party/boost/libs/callable_traits/example/
Doverview.cpp28 using pmf = decltype(&number::add); typedef
32 remove_member_const_t<pmf>,
37 add_member_volatile_t<pmf>,
42 class_of_t<pmf>,
49 args_t<pmf>,
54 return_type_t<pmf>,
59 function_type_t<pmf>,
64 qualified_class_of_t<pmf>,
69 static_assert(is_const_member<pmf>{}, "");
70 static_assert(!is_volatile_member<pmf>{}, "");
[all …]
Dremove_member_volatile.cpp23 using pmf = int(foo::*)() const volatile; in main() typedef
25 using test = ct::remove_member_volatile_t<pmf>; in main()
28 using pmf = int(foo::*)() volatile &&; in main() typedef
30 using test = ct::remove_member_volatile_t<pmf>; in main()
33 using pmf = int(foo::*)() volatile &; in main() typedef
35 using test = ct::remove_member_volatile_t<pmf>; in main()
Dremove_member_const.cpp23 using pmf = int(foo::*)() const; in main() typedef
25 using test = ct::remove_member_const_t<pmf>; in main()
28 using pmf = int(foo::*)() const &&; in main() typedef
30 using test = ct::remove_member_const_t<pmf>; in main()
33 using pmf = int(foo::*)() const volatile &; in main() typedef
35 using test = ct::remove_member_const_t<pmf>; in main()
Dadd_member_volatile.cpp23 using pmf = void(foo::*)(); in main() typedef
25 using test = ct::add_member_volatile_t<pmf>; in main()
30 using pmf = void(foo::*)() volatile &&; in main() typedef
32 using test = ct::add_member_volatile_t<pmf>; in main()
35 using pmf = void(foo::*)() const &; in main() typedef
37 using test = ct::add_member_volatile_t<pmf>; in main()
Dadd_member_cv.cpp23 using pmf = void(foo::*)(); in main() typedef
25 using test = ct::add_member_cv_t<pmf>; in main()
30 using pmf = void(foo::*)() const volatile &&; in main() typedef
32 using test = ct::add_member_cv_t<pmf>; in main()
35 using pmf = void(foo::*)() volatile &; in main() typedef
37 using test = ct::add_member_cv_t<pmf>; in main()
Dadd_member_rvalue_reference.cpp23 using pmf = void(foo::*)(); in main() typedef
25 using test = ct::add_member_rvalue_reference_t<pmf>; in main()
30 using pmf = void(foo::*)() &&; in main() typedef
32 using test = ct::add_member_rvalue_reference_t<pmf>; in main()
38 using pmf = void(foo::*)() const &; in main() typedef
40 using test = ct::add_member_rvalue_reference_t<pmf>; in main()
Dremove_member_cv.cpp23 using pmf = int(foo::*)() const volatile; in main() typedef
25 using test = ct::remove_member_cv_t<pmf>; in main()
28 using pmf = int(foo::*)() const &&; in main() typedef
30 using test = ct::remove_member_cv_t<pmf>; in main()
33 using pmf = int(foo::*)() const volatile &; in main() typedef
35 using test = ct::remove_member_cv_t<pmf>; in main()
Dremove_member_reference.cpp23 using pmf = int(foo::*)() &; in main() typedef
25 using test = ct::remove_member_reference_t<pmf>; in main()
28 using pmf = int(foo::*)() const &&; in main() typedef
30 using test = ct::remove_member_reference_t<pmf>; in main()
33 using pmf = int(foo::*)() const volatile &; in main() typedef
35 using test = ct::remove_member_reference_t<pmf>; in main()
Dadd_member_const.cpp23 using pmf = int(foo::*)(); in main() typedef
25 using test = ct::add_member_const_t<pmf>; in main()
30 using pmf = int(foo::*)() const &&; in main() typedef
32 using test = ct::add_member_const_t<pmf>; in main()
35 using pmf = int(foo::*)() volatile &; in main() typedef
37 using test = ct::add_member_const_t<pmf>; in main()
Dadd_member_lvalue_reference.cpp23 using pmf = void(foo::*)(); in main() typedef
25 using test = ct::add_member_lvalue_reference_t<pmf>; in main()
30 using pmf = void(foo::*)() &; in main() typedef
32 using test = ct::add_member_lvalue_reference_t<pmf>; in main()
38 using pmf = void(foo::*)() &&; in main() typedef
40 using test = ct::add_member_lvalue_reference_t<pmf>; in main()
Dintro.cpp43 using pmf = decltype(&foo::operator()); in main() typedef
47 ct::remove_member_const_t<pmf>, in main()
53 pmf, in main()
58 static_assert(ct::is_const_member<pmf>::value, ""); in main()
Dremove_varargs.cpp35 using pmf = void(foo::*)(...) const; in main() typedef
37 using test = ct::remove_varargs_t<pmf>; in main()
Dargs.cpp38 using pmf = void(foo::*)(int, float&, const char*); in main() typedef
41 test<pmf, expect>(); in main()
Dadd_varargs.cpp33 using pmf = void(foo::*)() const; in main() typedef
35 using test = ct::add_varargs_t<pmf>; in main()
/third_party/boost/libs/python/test/
Dindirect_traits_test.cpp18 typedef void (X::*pmf)(); typedef
23 BOOST_MPL_ASSERT_NOT((is_reference_to_function<pmf>));
29 BOOST_MPL_ASSERT_NOT((is_pointer_to_function<pmf>));
36 BOOST_MPL_ASSERT_NOT((is_reference_to_function_pointer<pmf>));
46 BOOST_MPL_ASSERT_NOT((is_reference_to_pointer<pmf>));
86 BOOST_MPL_ASSERT_NOT((tt::is_reference_to_class<pmf>));
87 BOOST_MPL_ASSERT_NOT((tt::is_reference_to_class<pmf const&>));
102 BOOST_MPL_ASSERT_NOT((is_pointer_to_class<pmf>));
103 BOOST_MPL_ASSERT_NOT((is_pointer_to_class<pmf const>));
109 BOOST_MPL_ASSERT((tt::is_reference_to_member_function_pointer<pmf&>));
[all …]
/third_party/boost/libs/bind/doc/mem_fn/
Dinterface.qbk18 template<class R, class T> ``/unspecified-1/`` ``[link mem_fn_1 `mem_fn`]``(R (T::*pmf) ());
20 … template<class R, class T> ``/unspecified-2/`` ``[link mem_fn_2 `mem_fn`]``(R (T::*pmf) () const);
24 …ate<class R, class T, class A1> ``/unspecified-3/`` ``[link mem_fn_3 `mem_fn`]``(R (T::*pmf) (A1));
26 …ass R, class T, class A1> ``/unspecified-4/`` ``[link mem_fn_4 `mem_fn`]``(R (T::*pmf) (A1) const);
28 …lass T, class A1, class A2> ``/unspecified-5/`` ``[link mem_fn_5 `mem_fn`]``(R (T::*pmf) (A1, A2));
30 …, class A1, class A2> ``/unspecified-6/`` ``[link mem_fn_6 `mem_fn`]``(R (T::*pmf) (A1, A2) const);
63 template<class R, class T> ``/unspecified-1/`` mem_fn(R (T::*pmf) ())
66 equivalent to `(t.*pmf)()` when `t` is an l-value of type `T` or derived,
67 `(get_pointer(t)->*pmf)()` otherwise.
73 template<class R, class T> ``/unspecified-2/`` mem_fn(R (T::*pmf) () const)
[all …]
Dpurpose.qbk30 template<class It, class R, class T> void for_each(It first, It last, R (T::*pmf) ())
32 std::for_each(first, last, boost::mem_fn(pmf));
41 template<class It, class R, class T> void for_each(It first, It last, R (T::*pmf) ());
43 * /Effects:/ Equivalent to `std::for_each(first, last, boost::mem_fn(pmf))`.
82 can be used in a member function call expression `(x->*pmf)(...)` will work./]/
/third_party/boost/boost/property_map/parallel/
Dsimple_trigger.hpp34 Result (Class::*pmf)(int, int, const T&, in simple_trigger_t()
36 : self(self), pmf(pmf) { } in simple_trigger_t()
42 return (self->*pmf)(source, tag, data, context); in operator ()()
47 Result (Class::*pmf)(int, int, const T&, trigger_receive_context);
62 void (Class::*pmf)(int source, int tag, const T& data, in simple_trigger()
66 detail::simple_trigger_t<Class, T, void>(self, pmf)); in simple_trigger()
79 Result (Class::*pmf)(int source, int tag, const T& data, in simple_trigger()
83 (tag, detail::simple_trigger_t<Class, T, Result>(self, pmf)); in simple_trigger()
94 Result (Class::*pmf)(int source, int tag, const T& data, in simple_trigger()
99 simple_trigger(pg, tag, self, pmf, 0); in simple_trigger()
/third_party/boost/boost/proto/detail/preprocessed/
Dmemfun_funop.hpp13 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0); in operator ()()
20 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1); in operator ()()
27 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2); in operator ()()
34 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2 , a3); in operator ()()
41 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2 , a3 , a4); in operator ()()
48 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2 , a3 , a4 , a5); in operator ()()
55 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2 , a3 , a4 , a5 , a6); in operator ()()
62 return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7); in operator ()()
69 … return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8); in operator ()()
76 … return (BOOST_PROTO_GET_POINTER(V, obj) ->* pmf)(a0 , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 , a9); in operator ()()
/third_party/boost/boost/hana/functional/
Dapply.hpp67 constexpr auto operator()(T Base::*pmf, Derived&& ref, Args&&... args) const ->
68 decltype((static_cast<Derived&&>(ref).*pmf)(static_cast<Args&&>(args)...))
70 return (static_cast<Derived&&>(ref).*pmf)(static_cast<Args&&>(args)...);
74 constexpr auto operator()(PMF pmf, Pointer&& ptr, Args&& ...args) const ->
75 decltype(((*static_cast<Pointer&&>(ptr)).*pmf)(static_cast<Args&&>(args)...))
77 return ((*static_cast<Pointer&&>(ptr)).*pmf)(static_cast<Args&&>(args)...);
/third_party/boost/libs/hana/include/boost/hana/functional/
Dapply.hpp67 constexpr auto operator()(T Base::*pmf, Derived&& ref, Args&&... args) const ->
68 decltype((static_cast<Derived&&>(ref).*pmf)(static_cast<Args&&>(args)...))
70 return (static_cast<Derived&&>(ref).*pmf)(static_cast<Args&&>(args)...);
74 constexpr auto operator()(PMF pmf, Pointer&& ptr, Args&& ...args) const ->
75 decltype(((*static_cast<Pointer&&>(ptr)).*pmf)(static_cast<Args&&>(args)...))
77 return ((*static_cast<Pointer&&>(ptr)).*pmf)(static_cast<Args&&>(args)...);
/third_party/boost/libs/callable_traits/test/
Dreturn_type.cpp40 using pmf = decltype(&foo1::bar); in main() typedef
41 CT_ASSERT(std::is_same< return_type_t<pmf>, int>{}); in main()
43 using pmf = decltype(&foo2::bar); in main() typedef
44 CT_ASSERT(std::is_same< return_type_t<pmf>, int>{}); in main()
Dargs.cpp45 using pmf = decltype(&foo1::bar); in main() typedef
46 using args_t = TRAIT(args, pmf); in main()
49 using pmf = decltype(&foo2::bar); in main() typedef
50 using args_t = TRAIT(args, pmf); in main()
/third_party/boost/boost/python/
Dpure_virtual.hpp69 pure_virtual_visitor(PointerToMemberFunction pmf) in pure_virtual_visitor()
70 : m_pmf(pmf) in pure_virtual_visitor()
117 pure_virtual(PointerToMemberFunction pmf) in pure_virtual() argument
119 return detail::pure_virtual_visitor<PointerToMemberFunction>(pmf); in pure_virtual()
/third_party/boost/boost/hof/
Dapply.hpp222 constexpr auto operator()(T Base::*pmf, Derived&& ref, Args&&... args) const
223 BOOST_HOF_RETURNS((BOOST_HOF_FORWARD(Derived)(ref).*pmf)(BOOST_HOF_FORWARD(Args)(args)...));
226 constexpr auto operator()(PMF&& pmf, Pointer&& ptr, Args&&... args) const
227 …BOOST_HOF_RETURNS(((*BOOST_HOF_FORWARD(Pointer)(ptr)).*BOOST_HOF_FORWARD(PMF)(pmf))(BOOST_HOF_FORW…
230 …constexpr auto operator()(T Base::*pmf, const std::reference_wrapper<Derived>& ref, Args&&... args…
231 BOOST_HOF_RETURNS((ref.get().*pmf)(BOOST_HOF_FORWARD(Args)(args)...));

123