]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/fusion/algorithm/transformation/join.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / fusion / algorithm / transformation / join.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2006 Dan Marsden
4
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(FUSION_JOIN_200601222109)
9 #define FUSION_JOIN_200601222109
10
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/fusion/view/joint_view.hpp>
13
14 namespace boost { namespace fusion {
15
16 namespace result_of
17 {
18 template<typename LhSequence, typename RhSequence>
19 struct join
20 {
21 typedef joint_view<LhSequence, RhSequence> type;
22 };
23 }
24
25 template<typename LhSequence, typename RhSequence>
26 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
27 inline typename result_of::join<LhSequence const, RhSequence const>::type
28 join(LhSequence const& lhs, RhSequence const& rhs)
29 {
30 return typename result_of::join<LhSequence const, RhSequence const>::type(
31 lhs, rhs);
32 }
33 }}
34
35 #endif