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_PUSH_BACK_10022005_1647)
0008 #define FUSION_PUSH_BACK_10022005_1647
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/mpl/push_back.hpp>
0012 #include <boost/fusion/support/tag_of.hpp>
0013 #include <boost/fusion/algorithm/transformation/push_back.hpp>
0014 #include <boost/fusion/sequence/convert.hpp>
0015 
0016 namespace boost { namespace mpl
0017 {
0018     template <typename Tag>
0019     struct push_back_impl;
0020 
0021     template <>
0022     struct push_back_impl<fusion::fusion_sequence_tag>
0023     {
0024         template <typename Sequence, typename T>
0025         struct apply
0026         {
0027             typedef typename
0028                 fusion::result_of::push_back<Sequence, T>::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