File indexing completed on 2025-01-18 09:43:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044 #if !defined(BOOST_PP_IS_ITERATING)
0045 # error Boost.Parameters - do not include this file!
0046 #endif
0047
0048 #define N BOOST_PP_ITERATION()
0049
0050 #define BOOST_PARAMETER_open_list(z, n, text) \
0051 ::boost::parameter::aux::item< \
0052 BOOST_PP_CAT(PS, n), BOOST_PP_CAT(A, n)
0053
0054 #define BOOST_PARAMETER_close_list(z, n, text) >
0055
0056 #define BOOST_PARAMETER_arg_list(n) \
0057 ::boost::parameter::aux::make_arg_list< \
0058 BOOST_PP_ENUM(N, BOOST_PARAMETER_open_list, _) \
0059 , ::boost::parameter::void_ \
0060 BOOST_PP_REPEAT(N, BOOST_PARAMETER_close_list, _) \
0061 , deduced_list \
0062 , ::boost::parameter::aux::tag_keyword_arg \
0063 >
0064
0065 #define BOOST_PARAMETER_arg_pack_init(z, n, limit) \
0066 BOOST_PP_CAT(a, BOOST_PP_SUB(limit, n))
0067
0068 template <BOOST_PP_ENUM_PARAMS(N, typename A)>
0069 typename ::boost::mpl::first<
0070 typename BOOST_PARAMETER_arg_list(N)::type
0071 >::type
0072 operator()(BOOST_PP_ENUM_BINARY_PARAMS(N, A, & a)) const
0073 {
0074 typedef typename BOOST_PARAMETER_arg_list(N)::type result;
0075 typedef typename ::boost::mpl::first<result>::type result_type;
0076 typedef typename ::boost::mpl::second<result>::type error;
0077 error();
0078
0079 return result_type(
0080 BOOST_PP_ENUM(N, BOOST_PARAMETER_arg_pack_init, BOOST_PP_DEC(N))
0081 BOOST_PP_ENUM_TRAILING_PARAMS(
0082 BOOST_PP_SUB(BOOST_PARAMETER_COMPOSE_MAX_ARITY, N)
0083 , ::boost::parameter::aux::void_reference() BOOST_PP_INTERCEPT
0084 )
0085 );
0086 }
0087
0088 #undef BOOST_PARAMETER_arg_list
0089 #undef BOOST_PARAMETER_close_list
0090 #undef BOOST_PARAMETER_open_list
0091 #undef N
0092