Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:47:51

0001 /*=============================================================================
0002     Copyright (c) 2015 Kohei Takahashi
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #ifndef FUSION_LIST_TIE_06182015_0825
0008 #define FUSION_LIST_TIE_06182015_0825
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/container/list/list.hpp>
0012 
0013 #if !defined(BOOST_FUSION_HAS_VARIADIC_LIST)
0014 # include <boost/fusion/container/generation/detail/pp_list_tie.hpp>
0015 #else
0016 
0017 ///////////////////////////////////////////////////////////////////////////////
0018 // C++11 variadic interface
0019 ///////////////////////////////////////////////////////////////////////////////
0020 
0021 namespace boost { namespace fusion
0022 {
0023     namespace result_of
0024     {
0025         template <typename ...T>
0026         struct list_tie
0027         {
0028             typedef list<T&...> type;
0029         };
0030     }
0031 
0032     template <typename ...T>
0033     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0034     inline list<T&...>
0035     list_tie(T&... arg)
0036     {
0037         return list<T&...>(arg...);
0038     }
0039 }}
0040 
0041 #endif
0042 
0043 #endif
0044