]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2010 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_ADAPTED_ARRAY_VALUE_OF_IMPL_HPP | |
9 | #define BOOST_FUSION_ADAPTED_ARRAY_VALUE_OF_IMPL_HPP | |
10 | ||
11 | #include <boost/fusion/support/config.hpp> | |
12 | #include <boost/type_traits/remove_extent.hpp> | |
13 | ||
14 | namespace boost { namespace fusion { namespace extension | |
15 | { | |
16 | template <typename> | |
17 | struct value_of_impl; | |
18 | ||
19 | template <> | |
20 | struct value_of_impl<po_array_iterator_tag> | |
21 | { | |
22 | template <typename It> | |
23 | struct apply | |
24 | : remove_extent<typename It::seq_type> | |
25 | {}; | |
26 | }; | |
27 | }}} | |
28 | ||
29 | #endif |