1 /*=============================================================================
2 Copyright (c) 2001-2006 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_PRIOR_IMPL_05042005_1145)
8 #define FUSION_PRIOR_IMPL_05042005_1145
10 #include <boost/fusion/container/vector/vector_iterator.hpp>
12 namespace boost { namespace fusion
14 struct vector_iterator_tag;
15 template <typename Vector, int N>
16 struct vector_iterator;
20 template <typename Tag>
24 struct prior_impl<vector_iterator_tag>
26 template <typename Iterator>
29 typedef typename Iterator::vector vector;
30 typedef typename Iterator::index index;
31 typedef vector_iterator<vector, index::value-1> type;
34 call(Iterator const& i)