1 /*=============================================================================
2 Copyright (c) 2009-2010 Christopher Schmidt
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 ==============================================================================*/
8 #ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_DEREF_IMPL_HPP
9 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_DEREF_IMPL_HPP
11 namespace boost { namespace fusion { namespace extension
17 struct deref_impl<struct_iterator_tag>
19 template <typename It>
23 access::struct_member<
24 typename remove_const<typename It::seq_type>::type
26 >::template apply<typename It::seq_type>
29 typedef typename impl::type type;
31 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
35 return impl::call(*it.seq);