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