Boost logo

Boost Users :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-03-31 08:50:27


Eric Friedman writes:
> Preston A. Elder wrote:
> > How do I support > 10 types in a variant without having support for
> > make_variant_over (since I wish to still support Borland and MSVC 6/.NET
> > (aka. 7, not 7.1), as well as gcc).
>
> To solve your problem under the current implementation, you need a
> greater value for BOOST_MPL_LIMIT_LIST_SIZE. I'm unfortunately not
> attuned enough to the MPL implementation to know what is involved in
> attaining this; I've CCed this to Aleksey Gurtovoy (the MPL maintainer),
> who may be able to help you.

Just #define-ing BOOST_MPL_LIMIT_LIST_SIZE to something that is a multiple
of 10 (e.g. 20) before including Boost headers should work.

--
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