1/*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3
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
9
10#include <boost/fusion/support/config.hpp>
11#include <boost/fusion/iterator/equal_to.hpp>
12#include <boost/mpl/if.hpp>
13
14namespace boost { namespace fusion
15{
16 struct joint_view_tag;
17
18 namespace extension
19 {
20 template <typename Tag>
21 struct end_impl;
22
23 template <>
24 struct end_impl<joint_view_tag>
25 {
26 template <typename Sequence>
27 struct apply
28 {
29 typedef typename Sequence::concat_last_type type;
30
31 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
32 static type
33 call(Sequence& s)
34 {
35 return s.concat_last();
36 }
37 };
38 };
39 }
40}}
41
42#endif
43

source code of include/boost/fusion/view/joint_view/detail/end_impl.hpp