File indexing completed on 2025-01-18 09:41:56
0001
0002 #ifndef BOOST_MPL_MULTIPLIES_HPP_INCLUDED
0003 #define BOOST_MPL_MULTIPLIES_HPP_INCLUDED
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include <boost/mpl/times.hpp>
0018 #include <boost/mpl/aux_/na_spec.hpp>
0019 #include <boost/mpl/aux_/lambda_support.hpp>
0020 #include <boost/mpl/aux_/preprocessor/default_params.hpp>
0021 #include <boost/mpl/aux_/preprocessor/params.hpp>
0022 #include <boost/mpl/aux_/config/ctps.hpp>
0023
0024
0025
0026 namespace boost { namespace mpl {
0027
0028 #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
0029 # define AUX778076_OP_ARITY BOOST_MPL_LIMIT_METAFUNCTION_ARITY
0030 #else
0031 # define AUX778076_OP_ARITY 2
0032 #endif
0033
0034 template<
0035 BOOST_MPL_PP_DEFAULT_PARAMS(AUX778076_OP_ARITY, typename N, na)
0036 >
0037 struct multiplies
0038 : times< BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) >
0039 {
0040 BOOST_MPL_AUX_LAMBDA_SUPPORT(
0041 AUX778076_OP_ARITY
0042 , multiplies
0043 , ( BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) )
0044 )
0045 };
0046
0047 BOOST_MPL_AUX_NA_SPEC(AUX778076_OP_ARITY, multiplies)
0048
0049 #undef AUX778076_OP_ARITY
0050
0051 }}
0052
0053 #endif