Em quarta-feira, 29 de maio de 2013 17h11min09s UTC-3, Fernando Gomes da Silva escreveu:
I'm having trouble setting the max template parameters for Boost Fusion Tuples.
I've read the source code and found that I can set BOOST_FUSION_DONT_USE_PREPROCESSED_FILES and set FUSION_MAX_VECTOR_SIZE to the given number.
Using MSVC 2012 and using a value of 51, I get the following error:
\boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(65): error C2143: syntax error : missing ';' before '<' \boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(66) : see reference to class template instantiation 'boost::fusion::detail::vector_n_chooser
' being compiled \boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int \boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(65): error C2238: unexpected token(s) preceding ';' Thank you for any inputs!
Fernando