Back to home page

EIC code displayed by LXR

 
 

    


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

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_INSERT_RANGE_10022005_1838)
0008 #define FUSION_INSERT_RANGE_10022005_1838
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/mpl/insert_range.hpp>
0012 #include <boost/fusion/support/tag_of.hpp>
0013 #include <boost/fusion/algorithm/transformation/insert_range.hpp>
0014 #include <boost/fusion/sequence/convert.hpp>
0015 
0016 namespace boost { namespace mpl
0017 {
0018     template <typename Tag>
0019     struct insert_range_impl;
0020 
0021     template <>
0022     struct insert_range_impl<fusion::fusion_sequence_tag>
0023     {
0024         template <typename Sequence, typename Pos, typename Range>
0025         struct apply
0026         {
0027             typedef typename
0028                 fusion::result_of::insert_range<Sequence, Pos, Range>::type
0029             result;
0030 
0031             typedef typename
0032                 fusion::result_of::convert<
0033                     typename fusion::detail::tag_of<Sequence>::type, result>::type
0034             type;
0035         };
0036     };
0037 }}
0038 
0039 #endif
0040