Hi,
I have class that takes an mpl sequence as its parameter like this:
X<mpl::vector<A, B, C> >
And I would like to be able to have the class be used without explicitly declaring the mpl sequence like this:
X<A, B, C>
I know this could be accomplished using variadic template parameters, but I am using an older compiler. I was wondering if there was a macro in boost to do this, such as:
template<BOOST_MPL_VARIADIC_PARAM_PACK(T)>
class X
{
typedef mpl::vector<BOOST_MPL_VARIADIC_PARAM_UNPACK(T)> type;
};
If a macro is not available, does anyone know how I could write a macro like this? Or what is the default type used for mpl sequences when a type is
unspecified?