1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2005-2006 Dan Marsden
4 Copyright (c) 2009-2010 Christopher Schmidt
6 Distributed under the Boost Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ==============================================================================*/
10 #ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_END_IMPL_HPP
11 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_END_IMPL_HPP
13 #include <boost/fusion/support/config.hpp>
14 #include <boost/fusion/iterator/basic_iterator.hpp>
16 namespace boost { namespace fusion { namespace extension
22 struct end_impl<struct_tag>
24 template <typename Seq>
30 , random_access_traversal_tag
32 , struct_size<typename remove_const<Seq>::type>::value
36 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
46 struct end_impl<assoc_struct_tag>
48 template <typename Seq>
54 , assoc_struct_category
56 , struct_size<typename remove_const<Seq>::type>::value
60 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED