Boost logo

Boost Users :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-11-16 12:28:45


Simmons, Aaron writes:
> > I'm pretty sure that's an MPL limitation. If you
> > want to build a vector of more than 10 elements,
> > you need to
> >
> > #include <boost/mpl/vector20.hpp>
> >
> > or if you need more than 20 elements,
> >
> > #include <boost/mpl/vector30.hpp>
>
>
> I've noticed that the vectorXX.hpp files only allow you to make a vector
> with exactly that many items. What do you do if you want a vector of,
> say, 25 items?

You write 'vector25<...>'. See
http://www.meta-comm.com/engineering/boost/1_32_0_draft/libs/mpl/doc/refmanual/vector.html.

--
Aleksey Gurtovoy
MetaCommunications Engineering

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net