1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_ADVANCE_IMPL_09172005_1156)
8 #define FUSION_ADVANCE_IMPL_09172005_1156
10 namespace boost { namespace fusion
12 struct vector_iterator_tag;
14 template <typename Vector, int N>
15 struct vector_iterator;
19 template <typename Tag>
23 struct advance_impl<vector_iterator_tag>
25 template <typename Iterator, typename N>
28 typedef typename Iterator::index index;
29 typedef typename Iterator::vector vector;
30 typedef vector_iterator<vector, index::value+N::value> type;
32 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
34 call(Iterator const& i)