diff options
Diffstat (limited to 'boost/hana/functional/reverse_partial.hpp')
-rw-r--r-- | boost/hana/functional/reverse_partial.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/boost/hana/functional/reverse_partial.hpp b/boost/hana/functional/reverse_partial.hpp index fe2a06f143..60fc59e400 100644 --- a/boost/hana/functional/reverse_partial.hpp +++ b/boost/hana/functional/reverse_partial.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::reverse_partial`. -@copyright Louis Dionne 2013-2016 +@copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ @@ -73,25 +73,25 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename ...Y> constexpr decltype(auto) operator()(Y&& ...y) const& { - return hana::get_impl<0>(storage_)( + return hana::at_c<0>(storage_)( static_cast<Y&&>(y)..., - hana::get_impl<n+1>(storage_)... + hana::at_c<n+1>(storage_)... ); } template <typename ...Y> constexpr decltype(auto) operator()(Y&& ...y) & { - return hana::get_impl<0>(storage_)( + return hana::at_c<0>(storage_)( static_cast<Y&&>(y)..., - hana::get_impl<n+1>(storage_)... + hana::at_c<n+1>(storage_)... ); } template <typename ...Y> constexpr decltype(auto) operator()(Y&& ...y) && { - return static_cast<F&&>(hana::get_impl<0>(storage_))( + return static_cast<F&&>(hana::at_c<0>(storage_))( static_cast<Y&&>(y)..., - static_cast<X&&>(hana::get_impl<n+1>(storage_))... + static_cast<X&&>(hana::at_c<n+1>(storage_))... ); } }; |