2002-09-15 22:13:24 +00:00
|
|
|
// preprocessed version of 'boost/mpl/arg.hpp' header
|
|
|
|
|
// see the original for copyright information
|
|
|
|
|
|
|
|
|
|
namespace boost {
|
|
|
|
|
namespace mpl {
|
|
|
|
|
|
|
|
|
|
template<> struct arg<-1>
|
|
|
|
|
{
|
2002-12-09 05:20:25 +00:00
|
|
|
static int const value = -1;
|
2002-10-07 23:04:18 +00:00
|
|
|
BOOST_MPL_AUX_ARG_TYPEDEF(void_, tag)
|
2002-09-15 22:13:24 +00:00
|
|
|
|
|
|
|
|
template<
|
2002-10-07 12:09:59 +00:00
|
|
|
typename U1, typename U2, typename U3, typename U4, typename U5
|
2002-09-15 22:13:24 +00:00
|
|
|
>
|
|
|
|
|
struct apply
|
|
|
|
|
{
|
|
|
|
|
typedef U1 type;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
template<> struct arg<1>
|
|
|
|
|
{
|
2002-12-09 05:20:25 +00:00
|
|
|
static int const value = 1;
|
2002-09-15 22:13:24 +00:00
|
|
|
typedef arg<2> next;
|
2002-10-07 23:04:18 +00:00
|
|
|
BOOST_MPL_AUX_ARG_TYPEDEF(void_, tag)
|
2002-09-15 22:13:24 +00:00
|
|
|
|
|
|
|
|
template<
|
2002-10-07 12:09:59 +00:00
|
|
|
typename U1, typename U2, typename U3, typename U4, typename U5
|
2002-09-15 22:13:24 +00:00
|
|
|
>
|
|
|
|
|
struct apply
|
|
|
|
|
{
|
|
|
|
|
typedef U1 type;
|
2002-10-07 12:09:59 +00:00
|
|
|
};
|
2002-09-15 22:13:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
template<> struct arg<2>
|
|
|
|
|
{
|
2002-12-09 05:20:25 +00:00
|
|
|
static int const value = 2;
|
2002-09-15 22:13:24 +00:00
|
|
|
typedef arg<3> next;
|
2002-10-07 23:04:18 +00:00
|
|
|
BOOST_MPL_AUX_ARG_TYPEDEF(void_, tag)
|
2002-09-15 22:13:24 +00:00
|
|
|
|
|
|
|
|
template<
|
2002-10-07 12:09:59 +00:00
|
|
|
typename U1, typename U2, typename U3, typename U4, typename U5
|
2002-09-15 22:13:24 +00:00
|
|
|
>
|
|
|
|
|
struct apply
|
|
|
|
|
{
|
|
|
|
|
typedef U2 type;
|
2002-10-07 12:09:59 +00:00
|
|
|
};
|
2002-09-15 22:13:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
template<> struct arg<3>
|
|
|
|
|
{
|
2002-12-09 05:20:25 +00:00
|
|
|
static int const value = 3;
|
2002-09-15 22:13:24 +00:00
|
|
|
typedef arg<4> next;
|
2002-10-07 23:04:18 +00:00
|
|
|
BOOST_MPL_AUX_ARG_TYPEDEF(void_, tag)
|
2002-09-15 22:13:24 +00:00
|
|
|
|
|
|
|
|
template<
|
2002-10-07 12:09:59 +00:00
|
|
|
typename U1, typename U2, typename U3, typename U4, typename U5
|
2002-09-15 22:13:24 +00:00
|
|
|
>
|
|
|
|
|
struct apply
|
|
|
|
|
{
|
|
|
|
|
typedef U3 type;
|
2002-10-07 12:09:59 +00:00
|
|
|
};
|
2002-09-15 22:13:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
template<> struct arg<4>
|
|
|
|
|
{
|
2002-12-09 05:20:25 +00:00
|
|
|
static int const value = 4;
|
2002-09-15 22:13:24 +00:00
|
|
|
typedef arg<5> next;
|
2002-10-07 23:04:18 +00:00
|
|
|
BOOST_MPL_AUX_ARG_TYPEDEF(void_, tag)
|
2002-09-15 22:13:24 +00:00
|
|
|
|
|
|
|
|
template<
|
2002-10-07 12:09:59 +00:00
|
|
|
typename U1, typename U2, typename U3, typename U4, typename U5
|
2002-09-15 22:13:24 +00:00
|
|
|
>
|
|
|
|
|
struct apply
|
|
|
|
|
{
|
|
|
|
|
typedef U4 type;
|
2002-10-07 12:09:59 +00:00
|
|
|
};
|
2002-09-15 22:13:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
template<> struct arg<5>
|
|
|
|
|
{
|
2002-12-09 05:20:25 +00:00
|
|
|
static int const value = 5;
|
2002-09-15 22:13:24 +00:00
|
|
|
typedef arg<6> next;
|
2002-10-07 23:04:18 +00:00
|
|
|
BOOST_MPL_AUX_ARG_TYPEDEF(void_, tag)
|
2002-09-15 22:13:24 +00:00
|
|
|
|
|
|
|
|
template<
|
2002-10-07 12:09:59 +00:00
|
|
|
typename U1, typename U2, typename U3, typename U4, typename U5
|
2002-09-15 22:13:24 +00:00
|
|
|
>
|
|
|
|
|
struct apply
|
|
|
|
|
{
|
|
|
|
|
typedef U5 type;
|
2002-10-07 12:09:59 +00:00
|
|
|
};
|
2002-09-15 22:13:24 +00:00
|
|
|
};
|
|
|
|
|
|
2002-10-07 12:09:59 +00:00
|
|
|
BOOST_MPL_AUX_NONTYPE_ARITY_SPEC(1, int, arg)
|
2002-09-15 22:13:24 +00:00
|
|
|
|
|
|
|
|
} // namespace mpl
|
|
|
|
|
} // namespace boost
|
|
|
|
|
|