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_ITERATOR_DETAIL_TYPE_SEQUENCE_ITERATOR_VALUE_TRAITS_HPP)
|
---|
| 9 | #define FUSION_ITERATOR_DETAIL_TYPE_SEQUENCE_ITERATOR_VALUE_TRAITS_HPP
|
---|
| 10 |
|
---|
| 11 | #include <boost/spirit/fusion/detail/config.hpp>
|
---|
| 12 | #include <boost/mpl/deref.hpp>
|
---|
| 13 |
|
---|
| 14 | namespace boost { namespace fusion
|
---|
| 15 | {
|
---|
| 16 | struct type_sequence_iterator_tag;
|
---|
| 17 |
|
---|
| 18 | namespace meta
|
---|
| 19 | {
|
---|
| 20 | template <typename Tag>
|
---|
| 21 | struct value_impl;
|
---|
| 22 |
|
---|
| 23 | template <>
|
---|
| 24 | struct value_impl<type_sequence_iterator_tag>
|
---|
| 25 | {
|
---|
| 26 | template <typename Iterator>
|
---|
| 27 | struct apply
|
---|
| 28 | {
|
---|
| 29 | typedef typename mpl::deref<
|
---|
| 30 | typename Iterator::iterator_type>::type
|
---|
| 31 | type;
|
---|
| 32 | };
|
---|
| 33 | };
|
---|
| 34 | }
|
---|
| 35 | }}
|
---|
| 36 |
|
---|
| 37 | #endif
|
---|
| 38 |
|
---|
| 39 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.