Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*=============================================================================
0002     Copyright (c) 2011 Eric Niebler
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(BOOST_FUSION_SEGMENTED_END_HPP_INCLUDED)
0008 #define BOOST_FUSION_SEGMENTED_END_HPP_INCLUDED
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp>
0012 #include <boost/fusion/iterator/segmented_iterator.hpp>
0013 #include <boost/fusion/container/list/cons.hpp>
0014 
0015 namespace boost { namespace fusion { namespace detail
0016 {
0017     //auto segmented_end( seq )
0018     //{
0019     //    return make_segmented_iterator( segmented_end_impl( seq ) );
0020     //}
0021 
0022     template <typename Sequence, typename Nil_ = fusion::nil_>
0023     struct segmented_end
0024     {
0025         typedef
0026             segmented_iterator<
0027                 typename segmented_end_impl<Sequence, Nil_>::type
0028             >
0029         type;
0030 
0031         BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0032         static type call(Sequence & seq)
0033         {
0034             return type(
0035                 segmented_end_impl<Sequence, Nil_>::call(seq, Nil_()));
0036         }
0037     };
0038 
0039 }}}
0040 
0041 #endif