
15 Nov
2008
15 Nov
'08
1:06 a.m.
AMDG Joel de Guzman wrote:
I can provide an easy solution for you:
template < BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT( FUSION_MAX_VECTOR_SIZE, typename T, void_) > struct make_vector_n { typedef typename detail::vector_n_chooser< BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, T)>::type type; };
If that works for you, would you provide simple docs for it I can add in the reference?
Is there a particular reason why make_vector doesn't use this. In Christ, Steven Watanabe