Hi, Can BOOST_MPL_LIMIT_VECTOR_SIZE be increased beyond 50, and if yes, what is involved in this? Thanks, Arkadiy
Arkadiy Vertleyb writes:
Can BOOST_MPL_LIMIT_VECTOR_SIZE be increased beyond 50,
Yes, but it's highly not recommended. The preferred way to get a vector of N elements is to use the corresponding numbered form, e.g.: #include "boost/mpl/vector/vector50.hpp" typedef boost::mpl::vector47<.....> types;
and if yes, what is involved in this?
See "boost/mpl/vector/" directory for the current approach. The corresponding preprocessed headers in "boost/mpl/vector/aux_/preprocessed/" are generated by "libs/mpl/preprocessed/preprocess_vector.py" script. HTH, -- Aleksey Gurtovoy MetaCommunications Engineering
"Aleksey Gurtovoy"
Arkadiy Vertleyb writes:
Can BOOST_MPL_LIMIT_VECTOR_SIZE be increased beyond 50,
Yes, but it's highly not recommended. The preferred way to get a vector of N elements is to use the corresponding numbered form, e.g.:
#include "boost/mpl/vector/vector50.hpp"
typedef boost::mpl::vector47<.....> types;
OK, but is it possible for a library user to get something like boost::mpl::vector97<...>? There is no such thing as vector100.hpp... Regards, Arkadiy
participants (2)
-
Aleksey Gurtovoy
-
Arkadiy Vertleyb