1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
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_DEREF_TRAITS_05062005_0900)
8 #define FUSION_ADAPT_DEREF_TRAITS_05062005_0900
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/iterator/deref.hpp>
13 namespace boost { namespace fusion { namespace detail
15 struct adapt_deref_traits
17 template <typename Iterator>
21 result_of::deref<typename Iterator::first_type>::type
24 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
26 call(Iterator const& i)