forked from boostorg/fusion
changed the result of as_vector to return the numbered forms (i.e vectorN)
[SVN r49778]
This commit is contained in:
@ -31,14 +31,14 @@ namespace boost { namespace fusion { namespace detail
|
|||||||
template <typename Iterator>
|
template <typename Iterator>
|
||||||
struct apply
|
struct apply
|
||||||
{
|
{
|
||||||
typedef vector<> type;
|
typedef vector0 type;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Iterator>
|
template <typename Iterator>
|
||||||
static typename apply<Iterator>::type
|
static typename apply<Iterator>::type
|
||||||
call(Iterator)
|
call(Iterator)
|
||||||
{
|
{
|
||||||
return vector<>();
|
return vector0();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ namespace boost { namespace fusion { namespace detail
|
|||||||
{
|
{
|
||||||
BOOST_PP_REPEAT(N, BOOST_FUSION_NEXT_ITERATOR, _)
|
BOOST_PP_REPEAT(N, BOOST_FUSION_NEXT_ITERATOR, _)
|
||||||
BOOST_PP_REPEAT(N, BOOST_FUSION_VALUE_OF_ITERATOR, _)
|
BOOST_PP_REPEAT(N, BOOST_FUSION_VALUE_OF_ITERATOR, _)
|
||||||
typedef vector<BOOST_PP_ENUM_PARAMS(N, T)> type;
|
typedef BOOST_PP_CAT(vector, N)<BOOST_PP_ENUM_PARAMS(N, T)> type;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Iterator>
|
template <typename Iterator>
|
||||||
|
Reference in New Issue
Block a user