Back to home page

EIC code displayed by LXR

 
 

    


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 // Copyright Aleksey Gurtovoy 2000-2004
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. 
0008 // (See accompanying file LICENSE_1_0.txt or copy at 
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 // See http://www.boost.org/libs/mpl for documentation.
0012 
0013 // $Id$
0014 // $Date$
0015 // $Revision$
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 // backward compatibility header, deprecated
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 // BOOST_MPL_MULTIPLIES_HPP_INCLUDED