123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- /*==============================================================================
- Copyright (c) 2005-2010 Joel de Guzman
- Copyright (c) 2010 Thomas Heller
- Copyright (c) 2016 Kohei Takahashi
- Distributed under the Boost Software License, Version 1.0. (See accompanying
- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- ==============================================================================*/
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1, typename Context>
- struct result<This(A0 , A1, Context)>
- : result<This(A0 const& , A1 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1, typename Context>
- struct result<This(A0 & , A1 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1>
- {};
- template <typename A0 , typename A1, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1>::type
- operator()(
- A0 const& a0 , A1 const& a1
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
-
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2, typename Context>
- struct result<This(A0 , A1 , A2, Context)>
- : result<This(A0 const& , A1 const& , A2 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2, typename Context>
- struct result<This(A0 & , A1 & , A2 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2>
- {};
- template <typename A0 , typename A1 , typename A2, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx)
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3, typename Context>
- struct result<This(A0 , A1 , A2 , A3, Context)>
- : result<This(A0 const& , A1 const& , A2 const& , A3 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3, typename Context>
- struct result<This(A0 & , A1 & , A2 & , A3 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3>
- {};
- template <typename A0 , typename A1 , typename A2 , typename A3, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx) , boost::phoenix::eval(a3, ctx)
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4, typename Context>
- struct result<This(A0 , A1 , A2 , A3 , A4, Context)>
- : result<This(A0 const& , A1 const& , A2 const& , A3 const& , A4 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4, typename Context>
- struct result<This(A0 & , A1 & , A2 & , A3 & , A4 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4>
- {};
- template <typename A0 , typename A1 , typename A2 , typename A3 , typename A4, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx) , boost::phoenix::eval(a3, ctx) , boost::phoenix::eval(a4, ctx)
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5, typename Context>
- struct result<This(A0 , A1 , A2 , A3 , A4 , A5, Context)>
- : result<This(A0 const& , A1 const& , A2 const& , A3 const& , A4 const& , A5 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5, typename Context>
- struct result<This(A0 & , A1 & , A2 & , A3 & , A4 & , A5 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5>
- {};
- template <typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx) , boost::phoenix::eval(a3, ctx) , boost::phoenix::eval(a4, ctx) , boost::phoenix::eval(a5, ctx)
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6, typename Context>
- struct result<This(A0 , A1 , A2 , A3 , A4 , A5 , A6, Context)>
- : result<This(A0 const& , A1 const& , A2 const& , A3 const& , A4 const& , A5 const& , A6 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6, typename Context>
- struct result<This(A0 & , A1 & , A2 & , A3 & , A4 & , A5 & , A6 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6>
- {};
- template <typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5 , A6 const& a6
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx) , boost::phoenix::eval(a3, ctx) , boost::phoenix::eval(a4, ctx) , boost::phoenix::eval(a5, ctx) , boost::phoenix::eval(a6, ctx)
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7, typename Context>
- struct result<This(A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7, Context)>
- : result<This(A0 const& , A1 const& , A2 const& , A3 const& , A4 const& , A5 const& , A6 const& , A7 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7, typename Context>
- struct result<This(A0 & , A1 & , A2 & , A3 & , A4 & , A5 & , A6 & , A7 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7>
- {};
- template <typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5 , A6 const& a6 , A7 const& a7
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx) , boost::phoenix::eval(a3, ctx) , boost::phoenix::eval(a4, ctx) , boost::phoenix::eval(a5, ctx) , boost::phoenix::eval(a6, ctx) , boost::phoenix::eval(a7, ctx)
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8, typename Context>
- struct result<This(A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8, Context)>
- : result<This(A0 const& , A1 const& , A2 const& , A3 const& , A4 const& , A5 const& , A6 const& , A7 const& , A8 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8, typename Context>
- struct result<This(A0 & , A1 & , A2 & , A3 & , A4 & , A5 & , A6 & , A7 & , A8 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8>
- {};
- template <typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5 , A6 const& a6 , A7 const& a7 , A8 const& a8
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx) , boost::phoenix::eval(a3, ctx) , boost::phoenix::eval(a4, ctx) , boost::phoenix::eval(a5, ctx) , boost::phoenix::eval(a6, ctx) , boost::phoenix::eval(a7, ctx) , boost::phoenix::eval(a8, ctx)
- );
- }
-
-
-
-
-
-
-
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9, typename Context>
- struct result<This(A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8 , A9, Context)>
- : result<This(A0 const& , A1 const& , A2 const& , A3 const& , A4 const& , A5 const& , A6 const& , A7 const& , A8 const& , A9 const&, Context)>
- {};
- template <typename This, typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9, typename Context>
- struct result<This(A0 & , A1 & , A2 & , A3 & , A4 & , A5 & , A6 & , A7 & , A8 & , A9 &, Context)>
- : result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8 , A9>
- {};
- template <typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9, typename Context>
- typename result_of::mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8 , A9>::type
- operator()(
- A0 const& a0 , A1 const& a1 , A2 const& a2 , A3 const& a3 , A4 const& a4 , A5 const& a5 , A6 const& a6 , A7 const& a7 , A8 const& a8 , A9 const& a9
- , Context const & ctx
- ) const
- {
- return
- (
- get_pointer(boost::phoenix::eval(a0, ctx))
- ->*boost::phoenix::eval(a1, ctx)
- )(
- boost::phoenix::eval(a2, ctx) , boost::phoenix::eval(a3, ctx) , boost::phoenix::eval(a4, ctx) , boost::phoenix::eval(a5, ctx) , boost::phoenix::eval(a6, ctx) , boost::phoenix::eval(a7, ctx) , boost::phoenix::eval(a8, ctx) , boost::phoenix::eval(a9, ctx)
- );
- }
|