Line | |
---|
1 | /*=============================================================================
|
---|
2 | Copyright (c) 2003 Joel de Guzman
|
---|
3 |
|
---|
4 | Use, modification and distribution is subject to the Boost Software
|
---|
5 | License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
---|
6 | http://www.boost.org/LICENSE_1_0.txt)
|
---|
7 | ==============================================================================*/
|
---|
8 | #if !defined(FUSION_ITERATOR_TYPE_SEQUENCE_ITERATOR_HPP)
|
---|
9 | #define FUSION_ITERATOR_TYPE_SEQUENCE_ITERATOR_HPP
|
---|
10 |
|
---|
11 | #include <boost/spirit/fusion/iterator/detail/iterator_base.hpp>
|
---|
12 | #include <boost/spirit/fusion/iterator/detail/type_sequence_iterator/deref_traits.hpp>
|
---|
13 | #include <boost/spirit/fusion/iterator/detail/type_sequence_iterator/next_traits.hpp>
|
---|
14 | #include <boost/spirit/fusion/iterator/detail/type_sequence_iterator/value_traits.hpp>
|
---|
15 | #include <boost/type_traits/remove_const.hpp>
|
---|
16 |
|
---|
17 | namespace boost { namespace fusion
|
---|
18 | {
|
---|
19 | struct type_sequence_iterator_tag;
|
---|
20 |
|
---|
21 | template <typename Iterator>
|
---|
22 | struct type_sequence_iterator
|
---|
23 | : iterator_base<type_sequence_iterator<Iterator> >
|
---|
24 | {
|
---|
25 | typedef type_sequence_iterator_tag tag;
|
---|
26 | typedef typename remove_const<Iterator>::type iterator_type;
|
---|
27 | };
|
---|
28 | }}
|
---|
29 |
|
---|
30 | #endif
|
---|
31 |
|
---|
32 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.