$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2004-11-16 09:49:44
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.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com