Boost logo

Boost :

From: Hamish Mackenzie (boost_at_[hidden])
Date: 2001-11-27 16:18:40


On Tue, 2001-11-27 at 20:49, Aleksey Gurtovoy wrote:
> Hamish Mackenzie wrote:
> > > typedef mpl::value_list<1,7,5,2,4,8,9,2,0,3,9,1> values;
> >
> > I think you must have left out some have you left out the
> > int_t<N>s?
>
> Nope, the above line is exactly how the declaration of a value list looks in
> MPL. A truly generic version would be probably "mpl::value_list<int,
> 1,7,5,..>", though.
>

Cool how does it work? How can it tell you passed 12 arguments? Does
it reserve a value for use as a default parameter?

Hamish


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk