/*============================================================================= Copyright (c) 2003 Joel de Guzman Use, modification and distribution is subject to 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_ITERATOR_DETAIL_TYPE_SEQUENCE_ITERATOR_DEREF_TRAITS_HPP) #define FUSION_ITERATOR_DETAIL_TYPE_SEQUENCE_ITERATOR_DEREF_TRAITS_HPP #include #include #include namespace boost { namespace fusion { namespace type_sequence_iterator_detail { template struct deref_traits_impl { typedef typename mpl::deref< typename Iterator::iterator_type>::type type; static type call(Iterator); }; template inline typename deref_traits_impl::type deref_traits_impl::call(Iterator) { FUSION_RETURN_DEFAULT_CONSTRUCTED; } } struct type_sequence_iterator_tag; namespace meta { template struct deref_impl; template <> struct deref_impl { template struct apply : type_sequence_iterator_detail::deref_traits_impl {}; }; } }} #endif