RE: [Boost-users] Re: Problems with boost::variant
I'm pretty sure that's an MPL limitation. If you want to build a vector of more than 10 elements, you need to
#include
or if you need more than 20 elements,
#include
I've noticed that the vectorXX.hpp files only allow you to make a vector with exactly that many items. What do you do if you want a vector of, say, 25 items?
Simmons, Aaron writes:
I'm pretty sure that's an MPL limitation. If you want to build a vector of more than 10 elements, you need to
#include
or if you need more than 20 elements,
#include
I've noticed that the vectorXX.hpp files only allow you to make a vector with exactly that many items. What do you do if you want a vector of, say, 25 items?
You write 'vector25<...>'. See http://www.meta-comm.com/engineering/boost/1_32_0_draft/libs/mpl/doc/refmanu.... -- Aleksey Gurtovoy MetaCommunications Engineering
participants (2)
-
Aleksey Gurtovoy
-
Simmons, Aaron