epoc32/include/stdapis/boost/mpl/multiplies.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/multiplies.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,53 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_MULTIPLIES_HPP_INCLUDED
     1.6 +#define BOOST_MPL_MULTIPLIES_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Aleksey Gurtovoy 2000-2004
     1.9 +//
    1.10 +// Distributed under the Boost Software License, Version 1.0. 
    1.11 +// (See accompanying file LICENSE_1_0.txt or copy at 
    1.12 +// http://www.boost.org/LICENSE_1_0.txt)
    1.13 +//
    1.14 +// See http://www.boost.org/libs/mpl for documentation.
    1.15 +
    1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/multiplies.hpp,v $
    1.17 +// $Date: 2004/09/02 15:40:41 $
    1.18 +// $Revision: 1.3 $
    1.19 +
    1.20 +#include <boost/mpl/times.hpp>
    1.21 +#include <boost/mpl/aux_/na_spec.hpp>
    1.22 +#include <boost/mpl/aux_/lambda_support.hpp>
    1.23 +#include <boost/mpl/aux_/preprocessor/default_params.hpp>
    1.24 +#include <boost/mpl/aux_/preprocessor/params.hpp>
    1.25 +#include <boost/mpl/aux_/config/ctps.hpp>
    1.26 +
    1.27 +// backward compatibility header, deprecated
    1.28 +
    1.29 +namespace boost { namespace mpl {
    1.30 +
    1.31 +#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
    1.32 +#   define AUX778076_OP_ARITY BOOST_MPL_LIMIT_METAFUNCTION_ARITY
    1.33 +#else
    1.34 +#   define AUX778076_OP_ARITY 2
    1.35 +#endif
    1.36 +
    1.37 +template<
    1.38 +      BOOST_MPL_PP_DEFAULT_PARAMS(AUX778076_OP_ARITY, typename N, na)
    1.39 +    >
    1.40 +struct multiplies
    1.41 +    : times< BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) >
    1.42 +{
    1.43 +    BOOST_MPL_AUX_LAMBDA_SUPPORT(
    1.44 +          AUX778076_OP_ARITY
    1.45 +        , multiplies
    1.46 +        , ( BOOST_MPL_PP_PARAMS(AUX778076_OP_ARITY, N) )
    1.47 +        )
    1.48 +};
    1.49 +
    1.50 +BOOST_MPL_AUX_NA_SPEC(AUX778076_OP_ARITY, multiplies)
    1.51 +
    1.52 +#undef AUX778076_OP_ARITY
    1.53 +
    1.54 +}}
    1.55 +
    1.56 +#endif // BOOST_MPL_MULTIPLIES_HPP_INCLUDED