|
||||
File indexing completed on 2025-01-18 09:34:58
0001 /*============================================================================= 0002 Copyright (c) 2014 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_TUPLE_TIE_14122014_0115 0008 #define FUSION_TUPLE_TIE_14122014_0115 0009 0010 #include <boost/fusion/support/config.hpp> 0011 #include <boost/fusion/tuple/tuple_fwd.hpp> 0012 0013 /////////////////////////////////////////////////////////////////////////////// 0014 // With no variadics, we will use the C++03 version 0015 /////////////////////////////////////////////////////////////////////////////// 0016 #if !defined(BOOST_FUSION_HAS_VARIADIC_TUPLE) 0017 # include <boost/fusion/tuple/detail/tuple_tie.hpp> 0018 #else 0019 0020 /////////////////////////////////////////////////////////////////////////////// 0021 // C++11 interface 0022 /////////////////////////////////////////////////////////////////////////////// 0023 #include <boost/fusion/tuple/tuple.hpp> 0024 0025 namespace boost { namespace fusion 0026 { 0027 template <typename ...T> 0028 BOOST_FUSION_GPU_ENABLED 0029 inline tuple<T&...> 0030 tie(T&... arg) 0031 { 0032 return tuple<T&...>(arg...); 0033 } 0034 }} 0035 0036 #endif 0037 #endif 0038
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |