1 /*=============================================================================
2 Copyright (c) 2001-2013 Joel de Guzman
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_MAP_TIE_07222005_1247)
8 #define FUSION_MAP_TIE_07222005_1247
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/map/map.hpp>
13 #if !defined(BOOST_FUSION_HAS_VARIADIC_MAP)
14 # include <boost/fusion/container/generation/detail/pp_map_tie.hpp>
17 ///////////////////////////////////////////////////////////////////////////////
18 // C++11 variadic interface
19 ///////////////////////////////////////////////////////////////////////////////
20 #include <boost/fusion/support/pair.hpp>
22 namespace boost { namespace fusion
26 template <typename ...Key>
29 template <typename ...T>
32 typedef map<fusion::pair<Key, T&>...> type;
37 template <typename ...Key, typename ...T>
38 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
39 inline map<fusion::pair<Key, T&>...>
42 typedef map<fusion::pair<Key, T&>...> result_type;
43 return result_type(arg...);