diff --git a/include/boost/fusion/container/generation/make_vector.hpp b/include/boost/fusion/container/generation/make_vector.hpp index 3f9b27f2..c464a1d8 100644 --- a/include/boost/fusion/container/generation/make_vector.hpp +++ b/include/boost/fusion/container/generation/make_vector.hpp @@ -1,7 +1,7 @@ /*============================================================================= Copyright (c) 2001-2006 Joel de Guzman - Distributed under the Boost Software License, Version 1.0. (See accompanying + Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #ifndef BOOST_PP_IS_ITERATING @@ -19,7 +19,7 @@ namespace boost { namespace fusion { struct void_; - + namespace result_of { template < @@ -28,18 +28,18 @@ namespace boost { namespace fusion , typename Extra = void_ > struct make_vector; - + template <> struct make_vector<> { - typedef vector<> type; + typedef vector0 type; }; } - + inline vector<> make_vector() { - return vector<>(); + return vector0(); } #define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \ @@ -74,15 +74,15 @@ namespace boost { namespace fusion struct make_vector #endif { - typedef vector type; + typedef BOOST_PP_CAT(vector, N) type; }; } template - inline vector + inline BOOST_PP_CAT(vector, N) make_vector(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& _)) { - return vector( + return BOOST_PP_CAT(vector, N)( BOOST_PP_ENUM_PARAMS(N, _)); }