Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:31:17

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003     Copyright (c) 2006 Dan Marsden
0004 
0005     Distributed under the Boost Software License, Version 1.0. (See accompanying 
0006     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 ==============================================================================*/
0008 #if !defined(FUSION_JOIN_200601222109)
0009 #define FUSION_JOIN_200601222109
0010 
0011 #include <boost/fusion/support/config.hpp>
0012 #include <boost/fusion/view/joint_view.hpp>
0013 
0014 namespace boost { namespace fusion {
0015 
0016     namespace result_of
0017     {
0018         template<typename LhSequence, typename RhSequence>
0019         struct join
0020         {
0021             typedef joint_view<LhSequence, RhSequence> type;
0022         };
0023     }
0024 
0025     template<typename LhSequence, typename RhSequence>
0026     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0027     inline typename result_of::join<LhSequence const, RhSequence const>::type
0028     join(LhSequence const& lhs, RhSequence const& rhs)
0029     {
0030         return typename result_of::join<LhSequence const, RhSequence const>::type(
0031             lhs, rhs);
0032     }
0033 }}
0034 
0035 #endif