]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/fusion/container/generation/deque_tie.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / fusion / container / generation / deque_tie.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2013 Joel de Guzman
3
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_DEQUE_TIE_01272013_1401)
8 #define FUSION_DEQUE_TIE_01272013_1401
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/deque/deque.hpp>
12
13 #if !defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
14 # include <boost/fusion/container/generation/detail/pp_deque_tie.hpp>
15 #else
16
17 ///////////////////////////////////////////////////////////////////////////////
18 // C++11 variadic interface
19 ///////////////////////////////////////////////////////////////////////////////
20
21 #include <boost/fusion/support/detail/as_fusion_element.hpp>
22
23 namespace boost { namespace fusion
24 {
25 struct void_;
26
27 namespace result_of
28 {
29 template <typename ...T>
30 struct deque_tie
31 {
32 typedef deque<T&...> type;
33 };
34 }
35
36 template <typename ...T>
37 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
38 inline deque<T&...>
39 deque_tie(T&... arg)
40 {
41 return deque<T&...>(arg...);
42 }
43 }}
44
45 #endif
46 #endif
47