williamr@2: 
williamr@2: #ifndef BOOST_MPL_MULTIPLIES_HPP_INCLUDED
williamr@2: #define BOOST_MPL_MULTIPLIES_HPP_INCLUDED
williamr@2: 
williamr@2: // Copyright Aleksey Gurtovoy 2000-2004
williamr@2: //
williamr@2: // Distributed under the Boost Software License, Version 1.0. 
williamr@2: // (See accompanying file LICENSE_1_0.txt or copy at 
williamr@2: // http://www.boost.org/LICENSE_1_0.txt)
williamr@2: //
williamr@2: // See http://www.boost.org/libs/mpl for documentation.
williamr@2: 
williamr@2: // $Source: /cvsroot/boost/boost/boost/mpl/multiplies.hpp,v $
williamr@2: // $Date: 2004/09/02 15:40:41 $
williamr@2: // $Revision: 1.3 $
williamr@2: 
williamr@2: #include <boost/mpl/times.hpp>
williamr@2: #include <boost/mpl/aux_/na_spec.hpp>
williamr@2: #include <boost/mpl/aux_/lambda_support.hpp>
williamr@2: #include <boost/mpl/aux_/preprocessor/default_params.hpp>
williamr@2: #include <boost/mpl/aux_/preprocessor/params.hpp>
williamr@2: #include <boost/mpl/aux_/config/ctps.hpp>
williamr@2: 
williamr@2: // backward compatibility header, deprecated
williamr@2: 
williamr@2: namespace boost { namespace mpl {
williamr@2: 
williamr@2: #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
williamr@2: #   define AUX778076_OP_ARITY BOOST_MPL_LIMIT_METAFUNCTION_ARITY
williamr@2: #else
williamr@2: #   define AUX778076_OP_ARITY 2
williamr@2: #endif
williamr@2: 
williamr@2: template<
williamr@2:       BOOST_MPL_PP_DEFAULT_PARAMS(AUX778076_OP_ARITY, typename N, na)
williamr@2:     >
williamr@2: struct multiplies
williamr@2:     : times< BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) >
williamr@2: {
williamr@2:     BOOST_MPL_AUX_LAMBDA_SUPPORT(
williamr@2:           AUX778076_OP_ARITY
williamr@2:         , multiplies
williamr@2:         , ( BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) )
williamr@2:         )
williamr@2: };
williamr@2: 
williamr@2: BOOST_MPL_AUX_NA_SPEC(AUX778076_OP_ARITY, multiplies)
williamr@2: 
williamr@2: #undef AUX778076_OP_ARITY
williamr@2: 
williamr@2: }}
williamr@2: 
williamr@2: #endif // BOOST_MPL_MULTIPLIES_HPP_INCLUDED