$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-05-31 14:50:38
AMDG
Hicham Mouline wrote:
>
> It seems make_variant_over is also limited by BOOST_VARIANT_LIMIT_TYPES.
> This macro is 20 on 2 platforms (linux-i386-gcc-4.1.2-boost-1.34.1 and
> win-i386-vs2005- boost-1.35.0)
>
> <snip>
>
>
> If I add type19, making the mpc vector have 21 types, compilation fails...
>
The limit of variant and the limit of mpl::vector happen to be the same.
For more types, try using the numbered form of mpl vector which can
handle up to 50 arguments.
#include <boost/mpl/vector/vector30.hpp>
typedef boost::mpl::vector21<...> types;
In Christ,
Steven Watanabe