update boost
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@file
|
||||
Defines `boost::hana::take_while`.
|
||||
|
||||
@copyright Louis Dionne 2013-2017
|
||||
Copyright Louis Dionne 2013-2022
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#include <boost/hana/unpack.hpp>
|
||||
|
||||
|
||||
BOOST_HANA_NAMESPACE_BEGIN
|
||||
namespace boost { namespace hana {
|
||||
//! @cond
|
||||
template <typename Xs, typename Pred>
|
||||
constexpr auto take_while_t::operator()(Xs&& xs, Pred&& pred) const {
|
||||
@@ -50,6 +50,6 @@ BOOST_HANA_NAMESPACE_BEGIN
|
||||
return hana::take_front(static_cast<Xs&&>(xs), FirstUnsatisfied{});
|
||||
}
|
||||
};
|
||||
BOOST_HANA_NAMESPACE_END
|
||||
}} // end namespace boost::hana
|
||||
|
||||
#endif // !BOOST_HANA_TAKE_WHILE_HPP
|
||||
|
||||
Reference in New Issue
Block a user