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