00001
00002 #ifndef BOOST_MPL_AUX_ARITY_HPP_INCLUDED
00003 #define BOOST_MPL_AUX_ARITY_HPP_INCLUDED
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include <boost/mpl/aux_/config/dtp.hpp>
00018
00019 #if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
00020
00021 # include <boost/mpl/aux_/nttp_decl.hpp>
00022 # include <boost/mpl/aux_/config/static_constant.hpp>
00023
00024 namespace boost { namespace mpl { namespace aux {
00025
00026
00027
00028
00029 template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) >
00030 struct arity
00031 {
00032 BOOST_STATIC_CONSTANT(int, value = N);
00033 };
00034
00035 }}}
00036
00037 #endif // BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES
00038
00039 #endif // BOOST_MPL_AUX_ARITY_HPP_INCLUDED