diff options
Diffstat (limited to 'boost/hana/functional')
-rw-r--r-- | boost/hana/functional/always.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/apply.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/arg.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/capture.hpp | 4 | ||||
-rw-r--r-- | boost/hana/functional/compose.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/curry.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/demux.hpp | 26 | ||||
-rw-r--r-- | boost/hana/functional/fix.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/flip.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/id.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/infix.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/iterate.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/lockstep.hpp | 14 | ||||
-rw-r--r-- | boost/hana/functional/on.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/overload.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/overload_linearly.hpp | 2 | ||||
-rw-r--r-- | boost/hana/functional/partial.hpp | 14 | ||||
-rw-r--r-- | boost/hana/functional/placeholder.hpp | 4 | ||||
-rw-r--r-- | boost/hana/functional/reverse_partial.hpp | 14 |
19 files changed, 51 insertions, 51 deletions
diff --git a/boost/hana/functional/always.hpp b/boost/hana/functional/always.hpp index 249233d3f2..df41b851e7 100644 --- a/boost/hana/functional/always.hpp +++ b/boost/hana/functional/always.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::always`. -@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) */ diff --git a/boost/hana/functional/apply.hpp b/boost/hana/functional/apply.hpp index 75a7f9483d..8a47a873e6 100644 --- a/boost/hana/functional/apply.hpp +++ b/boost/hana/functional/apply.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::apply`. -@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) */ diff --git a/boost/hana/functional/arg.hpp b/boost/hana/functional/arg.hpp index c9c68f0eae..5dd5658eff 100644 --- a/boost/hana/functional/arg.hpp +++ b/boost/hana/functional/arg.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::arg`. -@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) */ diff --git a/boost/hana/functional/capture.hpp b/boost/hana/functional/capture.hpp index 0b5a4677d8..65b4675833 100644 --- a/boost/hana/functional/capture.hpp +++ b/boost/hana/functional/capture.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::capture`. -@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) */ @@ -54,7 +54,7 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename F, typename Closure, std::size_t ...i> constexpr auto apply_capture(F&& f, Closure&& closure, std::index_sequence<i...>) { return hana::partial(static_cast<F&&>(f), - hana::get_impl<i>(static_cast<Closure&&>(closure).storage_)... + hana::at_c<i>(static_cast<Closure&&>(closure).storage_)... ); } } diff --git a/boost/hana/functional/compose.hpp b/boost/hana/functional/compose.hpp index 3250cee4db..bbc53f6ff4 100644 --- a/boost/hana/functional/compose.hpp +++ b/boost/hana/functional/compose.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::compose`. -@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) */ diff --git a/boost/hana/functional/curry.hpp b/boost/hana/functional/curry.hpp index 94662757e5..74ec09459a 100644 --- a/boost/hana/functional/curry.hpp +++ b/boost/hana/functional/curry.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::curry`. -@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) */ diff --git a/boost/hana/functional/demux.hpp b/boost/hana/functional/demux.hpp index c1ed03634e..f76b68ed48 100644 --- a/boost/hana/functional/demux.hpp +++ b/boost/hana/functional/demux.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::demux`. -@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) */ @@ -211,22 +211,22 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) const& { - return hana::get_impl<0>(storage_)( - hana::get_impl<n+1>(storage_)(x...)... + return hana::at_c<0>(storage_)( + hana::at_c<n+1>(storage_)(x...)... ); } template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) & { - return hana::get_impl<0>(storage_)( - hana::get_impl<n+1>(storage_)(x...)... + return hana::at_c<0>(storage_)( + hana::at_c<n+1>(storage_)(x...)... ); } template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) && { - return static_cast<F&&>(hana::get_impl<0>(storage_))( - static_cast<G&&>(hana::get_impl<n+1>(storage_))(x...)... + return static_cast<F&&>(hana::at_c<0>(storage_))( + static_cast<G&&>(hana::at_c<n+1>(storage_))(x...)... ); } }; @@ -242,22 +242,22 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) const& { - return hana::get_impl<0>(storage_)( - hana::get_impl<1>(storage_)(static_cast<X&&>(x)...) + return hana::at_c<0>(storage_)( + hana::at_c<1>(storage_)(static_cast<X&&>(x)...) ); } template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) & { - return hana::get_impl<0>(storage_)( - hana::get_impl<1>(storage_)(static_cast<X&&>(x)...) + return hana::at_c<0>(storage_)( + hana::at_c<1>(storage_)(static_cast<X&&>(x)...) ); } template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) && { - return static_cast<F&&>(hana::get_impl<0>(storage_))( - static_cast<G&&>(hana::get_impl<1>(storage_))(static_cast<X&&>(x)...) + return static_cast<F&&>(hana::at_c<0>(storage_))( + static_cast<G&&>(hana::at_c<1>(storage_))(static_cast<X&&>(x)...) ); } }; diff --git a/boost/hana/functional/fix.hpp b/boost/hana/functional/fix.hpp index 007ecba1a1..4c636ee10b 100644 --- a/boost/hana/functional/fix.hpp +++ b/boost/hana/functional/fix.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::fix`. -@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) */ diff --git a/boost/hana/functional/flip.hpp b/boost/hana/functional/flip.hpp index 3da81eddd7..d896f5e8d3 100644 --- a/boost/hana/functional/flip.hpp +++ b/boost/hana/functional/flip.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::flip`. -@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) */ diff --git a/boost/hana/functional/id.hpp b/boost/hana/functional/id.hpp index e6b4e32b79..04c9443b94 100644 --- a/boost/hana/functional/id.hpp +++ b/boost/hana/functional/id.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::id`. -@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) */ diff --git a/boost/hana/functional/infix.hpp b/boost/hana/functional/infix.hpp index 0706f3e62d..7b5d82cbe0 100644 --- a/boost/hana/functional/infix.hpp +++ b/boost/hana/functional/infix.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::infix`. -@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) */ diff --git a/boost/hana/functional/iterate.hpp b/boost/hana/functional/iterate.hpp index b2ec27f5ec..9a4ce3e9b2 100644 --- a/boost/hana/functional/iterate.hpp +++ b/boost/hana/functional/iterate.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::iterate`. -@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) */ diff --git a/boost/hana/functional/lockstep.hpp b/boost/hana/functional/lockstep.hpp index 11f8d6226f..2f60781883 100644 --- a/boost/hana/functional/lockstep.hpp +++ b/boost/hana/functional/lockstep.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::lockstep`. -@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) */ @@ -67,22 +67,22 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) const& { - return hana::get_impl<0>(storage_)( - hana::get_impl<n+1>(storage_)(static_cast<X&&>(x))... + return hana::at_c<0>(storage_)( + hana::at_c<n+1>(storage_)(static_cast<X&&>(x))... ); } template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) & { - return hana::get_impl<0>(storage_)( - hana::get_impl<n+1>(storage_)(static_cast<X&&>(x))... + return hana::at_c<0>(storage_)( + hana::at_c<n+1>(storage_)(static_cast<X&&>(x))... ); } template <typename ...X> constexpr decltype(auto) operator()(X&& ...x) && { - return static_cast<F&&>(hana::get_impl<0>(storage_))( - static_cast<G&&>(hana::get_impl<n+1>(storage_))(static_cast<X&&>(x))... + return static_cast<F&&>(hana::at_c<0>(storage_))( + static_cast<G&&>(hana::at_c<n+1>(storage_))(static_cast<X&&>(x))... ); } }; diff --git a/boost/hana/functional/on.hpp b/boost/hana/functional/on.hpp index ff40c0db5c..59561870a3 100644 --- a/boost/hana/functional/on.hpp +++ b/boost/hana/functional/on.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::on`. -@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) */ diff --git a/boost/hana/functional/overload.hpp b/boost/hana/functional/overload.hpp index b16c87c915..d8ce96a5ac 100644 --- a/boost/hana/functional/overload.hpp +++ b/boost/hana/functional/overload.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::overload`. -@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) */ diff --git a/boost/hana/functional/overload_linearly.hpp b/boost/hana/functional/overload_linearly.hpp index 3c91a9249f..e4129d1169 100644 --- a/boost/hana/functional/overload_linearly.hpp +++ b/boost/hana/functional/overload_linearly.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::overload_linearly`. -@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) */ diff --git a/boost/hana/functional/partial.hpp b/boost/hana/functional/partial.hpp index 064d0058ac..cfe981dddf 100644 --- a/boost/hana/functional/partial.hpp +++ b/boost/hana/functional/partial.hpp @@ -2,7 +2,7 @@ @file Defines `boost::hana::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) */ @@ -75,24 +75,24 @@ BOOST_HANA_NAMESPACE_BEGIN template <typename ...Y> constexpr decltype(auto) operator()(Y&& ...y) const& { - return hana::get_impl<0>(storage_)( - hana::get_impl<n+1>(storage_)..., + return hana::at_c<0>(storage_)( + hana::at_c<n+1>(storage_)..., static_cast<Y&&>(y)... ); } template <typename ...Y> constexpr decltype(auto) operator()(Y&& ...y) & { - return hana::get_impl<0>(storage_)( - hana::get_impl<n+1>(storage_)..., + return hana::at_c<0>(storage_)( + hana::at_c<n+1>(storage_)..., static_cast<Y&&>(y)... ); } template <typename ...Y> constexpr decltype(auto) operator()(Y&& ...y) && { - return static_cast<F&&>(hana::get_impl<0>(storage_))( - static_cast<X&&>(hana::get_impl<n+1>(storage_))..., + return static_cast<F&&>(hana::at_c<0>(storage_))( + static_cast<X&&>(hana::at_c<n+1>(storage_))..., static_cast<Y&&>(y)... ); } 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> 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_))... ); } }; |