diff options
Diffstat (limited to 'boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp')
-rw-r--r-- | boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp b/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp index dcd9257dc5..87f3714b50 100644 --- a/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp +++ b/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp @@ -20,7 +20,7 @@ #define FUSION_HASH # #define FUSION_DEQUE_KEYED_VALUES_FORWARD(z, n, _) \ - std::forward<BOOST_PP_CAT(T_, n)>(BOOST_PP_CAT(t, n)) + BOOST_FUSION_FWD_ELEM(BOOST_PP_CAT(T_, n), BOOST_PP_CAT(t, n)) #define BOOST_PP_FILENAME_1 \ <boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp> @@ -34,8 +34,8 @@ #define N BOOST_PP_ITERATION() - BOOST_FUSION_GPU_ENABLED - static type construct(BOOST_PP_ENUM_BINARY_PARAMS(N, typename add_reference<typename add_const<T, >::type>::type t)) + BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED + static type construct(BOOST_PP_ENUM_BINARY_PARAMS(N, typename detail::call_param<T, >::type t)) { return type(t0, deque_keyed_values_impl< @@ -52,10 +52,10 @@ FUSION_HASH if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \ (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)) template <BOOST_PP_ENUM_PARAMS(N, typename T_)> - BOOST_FUSION_GPU_ENABLED + BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED static type forward_(BOOST_PP_ENUM_BINARY_PARAMS(N, T_, && t)) { - return type(std::forward<T_0>(t0), + return type(BOOST_FUSION_FWD_ELEM(T_0, t0), deque_keyed_values_impl< next_index #if N > 1 |