|
Boost : |
Subject: Re: [boost] limit symbol names of fusion::vector
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-14 20:06:37
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk