]> git.donarmstrong.com Git - rsem.git/blob - boost/fusion/adapted/struct/detail/value_of_impl.hpp
55d37ed7a7afa6f57227e8361e345ab5253d72c6
[rsem.git] / boost / fusion / adapted / struct / detail / value_of_impl.hpp
1 /*=============================================================================
2     Copyright (c) 2009-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_STRUCT_DETAIL_VALUE_OF_IMPL_HPP
9 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_VALUE_OF_IMPL_HPP
10
11 namespace boost { namespace fusion { namespace extension
12 {
13     template <typename>
14     struct value_of_impl;
15
16     template <>
17     struct value_of_impl<struct_iterator_tag>
18     {
19         template <typename It>
20         struct apply
21           : extension::struct_member<
22                 typename remove_const<typename It::seq_type>::type
23               , It::index::value
24             >
25         {};
26     };
27 }}}
28
29 #endif