/*============================================================================= Copyright (c) 2001-2006 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #if !defined(FUSION_VALUE_OF_05052005_1126) #define FUSION_VALUE_OF_05052005_1126 #include #include namespace boost { namespace fusion { // Special tags: struct iterator_facade_tag; // iterator facade tag struct array_iterator_tag; // boost::array iterator tag struct mpl_iterator_tag; // mpl sequence iterator tag struct std_pair_iterator_tag; // std::pair iterator tag namespace extension { template struct value_of_impl { template struct apply {}; }; template <> struct value_of_impl { template struct apply : Iterator::template value_of {}; }; template <> struct value_of_impl; template <> struct value_of_impl; template <> struct value_of_impl; } namespace result_of { template struct value_of : extension::value_of_impl::type>:: template apply {}; } }} #endif