fix doc example typo
[boost.git] / boost / fusion / view / joint_view / detail / end_impl.hpp
blob5bdeb02e5c58be0342d27847157bfad8c98dc656
1 /*=============================================================================
2 Copyright (c) 2001-2006 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/iterator/equal_to.hpp>
11 #include <boost/mpl/if.hpp>
13 namespace boost { namespace fusion
15 struct joint_view_tag;
17 namespace extension
19 template <typename Tag>
20 struct end_impl;
22 template <>
23 struct end_impl<joint_view_tag>
25 template <typename Sequence>
26 struct apply
28 typedef typename Sequence::concat_last_type type;
30 static type
31 call(Sequence& s)
33 return s.concat_last();
40 #endif