Boost logo

Boost Users :

Subject: Re: [Boost-users] [variant] 'which' out of range assertion
From: Igor R (boost.lists_at_[hidden])
Date: 2012-02-22 11:13:03


>> You can get around this by increasing the maximum size a variant can handle,
>> define the following symbols (or higher if you need):
>>
>> #define BOOST_MPL_LIMIT_LIST_SIZE 30
>> #define BOOST_MPL_LIMIT_VECTOR_SIZE 30
>> #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS

And one more question: if I define these macros in some TU of my
project, in the way that affects some other boost headers I include --
should I define them when building boost as well?


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