Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:08:10

0001 /*=============================================================================
0002     Copyright (c) 2001-2013 Joel de Guzman
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 #if !defined(FUSION_DEQUE_TIE_01272013_1401)
0008 #define FUSION_DEQUE_TIE_01272013_1401
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/container/deque/deque.hpp>
0012 
0013 #if !defined(BOOST_FUSION_HAS_VARIADIC_DEQUE)
0014 # include <boost/fusion/container/generation/detail/pp_deque_tie.hpp>
0015 #else
0016 
0017 ///////////////////////////////////////////////////////////////////////////////
0018 // C++11 variadic interface
0019 ///////////////////////////////////////////////////////////////////////////////
0020 
0021 #include <boost/fusion/support/detail/as_fusion_element.hpp>
0022 
0023 namespace boost { namespace fusion
0024 {
0025     struct void_;
0026 
0027     namespace result_of
0028     {
0029         template <typename ...T>
0030         struct deque_tie
0031         {
0032             typedef deque<T&...> type;
0033         };
0034     }
0035 
0036     template <typename ...T>
0037     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0038     inline deque<T&...>
0039     deque_tie(T&... arg)
0040     {
0041         return deque<T&...>(arg...);
0042     }
0043  }}
0044 
0045 #endif
0046 #endif
0047