
15 Nov
2008
15 Nov
'08
3:05 a.m.
Steven Watanabe wrote:
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.
Good point. I'll ponder on this and get back to you. Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net