1 | /*============================================================================= |
2 | Copyright (c) 2009 Christopher Schmidt |
3 | |
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 | |
8 | #ifndef BOOST_FUSION_VIEW_JOINT_VIEW_DETAIL_VALUE_OF_DATA_IMPL_HPP |
9 | #define BOOST_FUSION_VIEW_JOINT_VIEW_DETAIL_VALUE_OF_DATA_IMPL_HPP |
10 | |
11 | #include <boost/fusion/support/config.hpp> |
12 | #include <boost/fusion/iterator/value_of_data.hpp> |
13 | |
14 | namespace boost { namespace fusion { namespace extension |
15 | { |
16 | template <typename> |
17 | struct value_of_data_impl; |
18 | |
19 | template <> |
20 | struct value_of_data_impl<joint_view_iterator_tag> |
21 | { |
22 | template <typename It> |
23 | struct apply |
24 | : result_of::value_of_data<typename It::first_type> |
25 | {}; |
26 | }; |
27 | }}} |
28 | |
29 | #endif |
30 | |