e27a2f90fd4d36fc31766b497b71bc661f5b357a
[platform/upstream/boost.git] / boost / fusion / iterator / detail / adapt_value_traits.hpp
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
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 #if !defined(FUSION_ADAPT_VALUE_TRAITS_05062005_0859)
8 #define FUSION_ADAPT_VALUE_TRAITS_05062005_0859
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/iterator/value_of.hpp>
12
13 namespace boost { namespace fusion { namespace detail
14 {
15     struct adapt_value_traits
16     {
17         template <typename Iterator>
18         struct apply
19         {
20             typedef typename
21                 result_of::value_of<typename Iterator::first_type>::type
22             type;
23         };
24     };
25 }}}
26
27 #endif
28
29