Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:34:59

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying 
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #if !defined(FUSION_END_IMPL_07162005_0128)
0008 #define FUSION_END_IMPL_07162005_0128
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/iterator/equal_to.hpp>
0012 #include <boost/mpl/if.hpp>
0013 
0014 namespace boost { namespace fusion
0015 {
0016     struct joint_view_tag;
0017 
0018     namespace extension
0019     {
0020         template <typename Tag>
0021         struct end_impl;
0022 
0023         template <>
0024         struct end_impl<joint_view_tag>
0025         {
0026             template <typename Sequence>
0027             struct apply
0028             {
0029                 typedef typename Sequence::concat_last_type type;
0030 
0031                 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0032                 static type
0033                 call(Sequence& s)
0034                 {
0035                     return s.concat_last();
0036                 }
0037             };
0038         };
0039     }
0040 }}
0041 
0042 #endif