forked from boostorg/mpl
117 lines
2.5 KiB
C++
117 lines
2.5 KiB
C++
// preprocessed version of 'boost/mpl/arg.hpp' header
|
|
// see the original for copyright information
|
|
|
|
namespace boost {
|
|
namespace mpl {
|
|
|
|
template<> struct arg<-1>
|
|
{
|
|
static int const value = -1;
|
|
|
|
template<
|
|
typename U1 = void_, typename U2 = void_, typename U3 = void_
|
|
, typename U4 = void_, typename U5 = void_
|
|
>
|
|
struct apply
|
|
{
|
|
typedef U1 type;
|
|
typedef char arity_constraint[
|
|
::boost::mpl::aux::reject_if_void_<type>::value
|
|
];
|
|
};
|
|
};
|
|
|
|
template<> struct arg<1>
|
|
{
|
|
static int const value = 1;
|
|
typedef arg<2> next;
|
|
|
|
template<
|
|
typename U1 = void_, typename U2 = void_, typename U3 = void_
|
|
, typename U4 = void_, typename U5 = void_
|
|
>
|
|
struct apply
|
|
{
|
|
typedef U1 type;
|
|
typedef char arity_constraint[
|
|
::boost::mpl::aux::reject_if_void_<type>::value
|
|
];
|
|
};
|
|
};
|
|
|
|
template<> struct arg<2>
|
|
{
|
|
static int const value = 2;
|
|
typedef arg<3> next;
|
|
|
|
template<
|
|
typename U1 = void_, typename U2 = void_, typename U3 = void_
|
|
, typename U4 = void_, typename U5 = void_
|
|
>
|
|
struct apply
|
|
{
|
|
typedef U2 type;
|
|
typedef char arity_constraint[
|
|
::boost::mpl::aux::reject_if_void_<type>::value
|
|
];
|
|
};
|
|
};
|
|
|
|
template<> struct arg<3>
|
|
{
|
|
static int const value = 3;
|
|
typedef arg<4> next;
|
|
|
|
template<
|
|
typename U1 = void_, typename U2 = void_, typename U3 = void_
|
|
, typename U4 = void_, typename U5 = void_
|
|
>
|
|
struct apply
|
|
{
|
|
typedef U3 type;
|
|
typedef char arity_constraint[
|
|
::boost::mpl::aux::reject_if_void_<type>::value
|
|
];
|
|
};
|
|
};
|
|
|
|
template<> struct arg<4>
|
|
{
|
|
static int const value = 4;
|
|
typedef arg<5> next;
|
|
|
|
template<
|
|
typename U1 = void_, typename U2 = void_, typename U3 = void_
|
|
, typename U4 = void_, typename U5 = void_
|
|
>
|
|
struct apply
|
|
{
|
|
typedef U4 type;
|
|
typedef char arity_constraint[
|
|
::boost::mpl::aux::reject_if_void_<type>::value
|
|
];
|
|
};
|
|
};
|
|
|
|
template<> struct arg<5>
|
|
{
|
|
static int const value = 5;
|
|
typedef arg<6> next;
|
|
|
|
template<
|
|
typename U1 = void_, typename U2 = void_, typename U3 = void_
|
|
, typename U4 = void_, typename U5 = void_
|
|
>
|
|
struct apply
|
|
{
|
|
typedef U5 type;
|
|
typedef char arity_constraint[
|
|
::boost::mpl::aux::reject_if_void_<type>::value
|
|
];
|
|
};
|
|
};
|
|
|
|
} // namespace mpl
|
|
} // namespace boost
|
|
|