Boost logo

Boost Users :

Subject: Re: [Boost-users] [variant] 'which' out of range assertion
From: Daniel Bradburn (moagstar_at_[hidden])
Date: 2012-02-22 12:15:28


Although it affects the variadic form of the mpl containers, the limit for
variant types is set from the BOOST_MPL_LIMIT_LIST_SIZE macro.

2012/2/22 Igor R <boost.lists_at_[hidden]>

> > I agree, it would be much better if this was picked up at compile time -
> > took a while searching and head scratching before I figured out what the
> > problem was.
>
>
> Yes, that's really strange, because the documentation says that these
> macros affect variadic forms of the sequences, while I use the fixed
> ones.
>
> http://www.boost.org/doc/libs/1_48_0/libs/mpl/doc/refmanual/limit-vector-size.html
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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