Boost logo

Boost Users :

From: Alex Drummond (a.drummond_at_[hidden])
Date: 2004-11-16 11:21:04


That was the problem. Thanks for the help :)

On Tuesday 16 November 2004 14:49, David Abrahams wrote:
> Alex Drummond <a.drummond_at_[hidden]> writes:
> > Hi,
> >
> > I'm using boost 1.31.0 and I'm having some trouble using type sequences
> > with boost::variant. There seems to be an arbitrary limit on their
> > length. For example, the following code compiles:
>
> 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>
>
> etc.

-- 
"What possible harm could one insane mutant tentacle do?"

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