source: NonGTP/Boost/boost/spirit/fusion/iterator/detail/adapt_value_traits.hpp @ 857

Revision 857, 863 bytes checked in by igarcia, 19 years ago (diff)
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_ADAPT_VALUE_TRAITS_HPP)
9#define FUSION_ADAPT_VALUE_TRAITS_HPP
10
11#include <boost/spirit/fusion/iterator/value_of.hpp>
12
13namespace boost { namespace fusion { namespace detail
14{
15    struct adapt_value_traits
16    {
17        template <typename Iterator>
18        struct apply
19        {
20            typedef typename
21                meta::value_of<typename Iterator::first_type>::type
22            type;
23        };
24    };
25}}}
26
27#endif
28
29
Note: See TracBrowser for help on using the repository browser.