/*============================================================================= Copyright (c) 2001-2006 Joel de Guzman 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_ITERATOR_05042005_0635) #define FUSION_VECTOR_ITERATOR_05042005_0635 #if defined (BOOST_MSVC) # pragma warning(push) # pragma warning (disable: 4512) // assignment operator could not be generated. #endif #include #include #include #include #include #include #include #include #include #include namespace boost { namespace fusion { struct vector_iterator_tag; struct random_access_traversal_tag; template struct vector_iterator_identity; template struct vector_iterator : iterator_base > { typedef mpl::int_ index; typedef Vector vector; typedef vector_iterator_tag fusion_tag; typedef random_access_traversal_tag category; typedef vector_iterator_identity< typename add_const::type, N> identity; vector_iterator(Vector& vec) : vec(vec) {} Vector& vec; }; }} #if defined (BOOST_MSVC) # pragma warning(pop) #endif #endif