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_END_IMPL_07162005_0128)
8 #define FUSION_END_IMPL_07162005_0128
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/iterator/equal_to.hpp>
12 #include <boost/mpl/if.hpp>
14 namespace boost { namespace fusion
16 struct joint_view_tag;
20 template <typename Tag>
24 struct end_impl<joint_view_tag>
26 template <typename Sequence>
29 typedef typename Sequence::concat_last_type type;
31 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
35 return s.concat_last();