1.1 --- a/epoc32/include/stdapis/boost/mpl/aux_/arity.hpp Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/arity.hpp Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,8 +1,8 @@
1.4
1.5 -#ifndef BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED
1.6 -#define BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED
1.7 +#ifndef BOOST_MPL_AUX_ARITY_HPP_INCLUDED
1.8 +#define BOOST_MPL_AUX_ARITY_HPP_INCLUDED
1.9
1.10 -// Copyright Aleksey Gurtovoy 2000-2004
1.11 +// Copyright Aleksey Gurtovoy 2001-2004
1.12 //
1.13 // Distributed under the Boost Software License, Version 1.0.
1.14 // (See accompanying file LICENSE_1_0.txt or copy at
1.15 @@ -10,12 +10,30 @@
1.16 //
1.17 // See http://www.boost.org/libs/mpl for documentation.
1.18
1.19 -// $Source: /cvsroot/boost/boost/boost/mpl/limits/arity.hpp,v $
1.20 -// $Date: 2004/09/02 15:40:57 $
1.21 -// $Revision: 1.4 $
1.22 +// $Source: /cvsroot/boost/boost/boost/mpl/aux_/arity.hpp,v $
1.23 +// $Date: 2004/09/02 15:40:43 $
1.24 +// $Revision: 1.6 $
1.25
1.26 -#if !defined(BOOST_MPL_LIMIT_METAFUNCTION_ARITY)
1.27 -# define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 5
1.28 -#endif
1.29 +#include <boost/mpl/aux_/config/dtp.hpp>
1.30
1.31 -#endif // BOOST_MPL_LIMITS_ARITY_HPP_INCLUDED
1.32 +#if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
1.33 +
1.34 +# include <boost/mpl/aux_/nttp_decl.hpp>
1.35 +# include <boost/mpl/aux_/config/static_constant.hpp>
1.36 +
1.37 +namespace boost { namespace mpl { namespace aux {
1.38 +
1.39 +// agurt, 15/mar/02: it's possible to implement the template so that it will
1.40 +// "just work" and do not require any specialization, but not on the compilers
1.41 +// that require the arity workaround in the first place
1.42 +template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) >
1.43 +struct arity
1.44 +{
1.45 + BOOST_STATIC_CONSTANT(int, value = N);
1.46 +};
1.47 +
1.48 +}}}
1.49 +
1.50 +#endif // BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
1.51 +
1.52 +#endif // BOOST_MPL_AUX_ARITY_HPP_INCLUDED