From d10270f7554655ee26e57e03d1514e4dcfe3f779 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Tue, 23 Oct 2007 23:29:08 +0000 Subject: [PATCH] remove superfluous include [SVN r40383] --- .../boost/fusion/container/vector/vector.hpp | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/include/boost/fusion/container/vector/vector.hpp b/include/boost/fusion/container/vector/vector.hpp index bd05badd..aef3134c 100644 --- a/include/boost/fusion/container/vector/vector.hpp +++ b/include/boost/fusion/container/vector/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) ==============================================================================*/ #if !defined(FUSION_VECTOR_07072005_1244) @@ -9,7 +9,6 @@ #include #include -#include #include #include #include @@ -24,11 +23,11 @@ namespace boost { namespace fusion struct fusion_sequence_tag; template - struct vector + struct vector : sequence_base > { private: - + typedef typename detail::vector_n_chooser< BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, T)>::type vector_n; @@ -37,7 +36,7 @@ namespace boost { namespace fusion friend struct vector; public: - + typedef typename vector_n::types types; typedef typename vector_n::fusion_tag fusion_tag; typedef typename vector_n::tag tag; @@ -93,10 +92,10 @@ namespace boost { namespace fusion typename mpl::at_c::type >::type at_impl(mpl::int_ index) - { - return vec.at_impl(index); + { + return vec.at_impl(index); } - + template typename add_reference< typename add_const< @@ -104,8 +103,8 @@ namespace boost { namespace fusion >::type >::type at_impl(mpl::int_ index) const - { - return vec.at_impl(index); + { + return vec.at_impl(index); } template @@ -113,8 +112,8 @@ namespace boost { namespace fusion typename mpl::at::type >::type at_impl(I index) - { - return vec.at_impl(mpl::int_()); + { + return vec.at_impl(mpl::int_()); } template @@ -124,21 +123,21 @@ namespace boost { namespace fusion >::type >::type at_impl(I index) const - { + { return vec.at_impl(mpl::int_()); - } + } private: - + #if BOOST_WORKAROUND(BOOST_MSVC, <= 1400) - static vector_n const& + static vector_n const& ctor_helper(vector const& rhs, mpl::true_) { return rhs.vec; } template - static T const& + static T const& ctor_helper(T const& rhs, mpl::false_) { return rhs;