diff options
Diffstat (limited to 'boost/hana/functional/placeholder.hpp')
-rw-r--r-- | boost/hana/functional/placeholder.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/hana/functional/placeholder.hpp b/boost/hana/functional/placeholder.hpp index 71a25389cd..59dea42bfb 100644 --- a/boost/hana/functional/placeholder.hpp +++ b/boost/hana/functional/placeholder.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::_`. -@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) */ @@ -92,7 +92,7 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename F, typename Xs, std::size_t ...i> constexpr decltype(auto) invoke_impl(F&& f, Xs&& xs, std::index_sequence<i...>) { - return static_cast<F&&>(f)(hana::get_impl<i>(static_cast<Xs&&>(xs).storage_)...); + return static_cast<F&&>(f)(hana::at_c<i>(static_cast<Xs&&>(xs).storage_)...); } template <typename ...X> |