diff options
Diffstat (limited to 'boost/hana/partition.hpp')
-rw-r--r-- | boost/hana/partition.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/hana/partition.hpp b/boost/hana/partition.hpp index 00ce243081..fdea39bcf5 100644 --- a/boost/hana/partition.hpp +++ b/boost/hana/partition.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::partition`. -@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) */ @@ -72,16 +72,16 @@ BOOST_HANA_NAMESPACE_BEGIN return indices; } - static constexpr auto left = compute_left(); - static constexpr auto right = compute_right(); + static constexpr auto left_indices = compute_left(); + static constexpr auto right_indices = compute_right(); template <typename S, typename Xs, std::size_t ...l, std::size_t ...r> static constexpr auto apply(Xs&& xs, std::index_sequence<l...>, std::index_sequence<r...>) { return hana::make<hana::pair_tag>( - hana::make<S>(hana::at_c<left[l]>(static_cast<Xs&&>(xs))...), - hana::make<S>(hana::at_c<right[r]>(static_cast<Xs&&>(xs))...) + hana::make<S>(hana::at_c<left_indices[l]>(static_cast<Xs&&>(xs))...), + hana::make<S>(hana::at_c<right_indices[r]>(static_cast<Xs&&>(xs))...) ); } }; |