31 Mar
2004
31 Mar
'04
1:50 p.m.
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