Rev | Line | |
---|
[857] | 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_SEQUENCE_TYPE_SEQUENCE_HPP)
|
---|
| 9 | #define FUSION_SEQUENCE_TYPE_SEQUENCE_HPP
|
---|
| 10 |
|
---|
| 11 | #include <boost/spirit/fusion/detail/access.hpp>
|
---|
| 12 | #include <boost/spirit/fusion/iterator/type_sequence_iterator.hpp>
|
---|
| 13 | #include <boost/spirit/fusion/sequence/detail/type_seq_begin_end_trts.hpp>
|
---|
| 14 | #include <boost/spirit/fusion/sequence/detail/sequence_base.hpp>
|
---|
| 15 | #include <boost/type_traits/remove_const.hpp>
|
---|
| 16 |
|
---|
| 17 | namespace boost { namespace fusion
|
---|
| 18 | {
|
---|
| 19 | struct type_sequence_tag;
|
---|
| 20 |
|
---|
| 21 | template <typename Sequence>
|
---|
| 22 | struct type_sequence : sequence_base<type_sequence<Sequence> >
|
---|
| 23 | {
|
---|
| 24 | typedef type_sequence_tag tag;
|
---|
| 25 | typedef typename remove_const<Sequence>::type sequence_type;
|
---|
| 26 | };
|
---|
| 27 | }}
|
---|
| 28 |
|
---|
| 29 | #endif
|
---|
| 30 |
|
---|
| 31 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.