From fad40f6c9d355de632bb1cc48b1ab562e0cf6a0b Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Sun, 16 Nov 2008 01:00:37 +0000 Subject: [PATCH] changed the result of as_vector to return the numbered forms (i.e vectorN) [SVN r49778] --- include/boost/fusion/container/vector/detail/as_vector.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/fusion/container/vector/detail/as_vector.hpp b/include/boost/fusion/container/vector/detail/as_vector.hpp index fa8dadcf..3cd6d454 100644 --- a/include/boost/fusion/container/vector/detail/as_vector.hpp +++ b/include/boost/fusion/container/vector/detail/as_vector.hpp @@ -31,14 +31,14 @@ namespace boost { namespace fusion { namespace detail template struct apply { - typedef vector<> type; + typedef vector0 type; }; template static typename apply::type 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_VALUE_OF_ITERATOR, _) - typedef vector type; + typedef BOOST_PP_CAT(vector, N) type; }; template