1 /*=============================================================================
2 Copyright (c) 2015 Kohei Takahashi
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 #ifndef FUSION_LIST_TIE_06182015_0825
8 #define FUSION_LIST_TIE_06182015_0825
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/list/list.hpp>
13 #if !defined(BOOST_FUSION_HAS_VARIADIC_LIST)
14 # include <boost/fusion/container/generation/detail/pp_list_tie.hpp>
17 ///////////////////////////////////////////////////////////////////////////////
18 // C++11 variadic interface
19 ///////////////////////////////////////////////////////////////////////////////
21 namespace boost { namespace fusion
25 template <typename ...T>
28 typedef list<T&...> type;
32 template <typename ...T>
33 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
37 return list<T&...>(arg...);