On 18/09/20 21:08 -0400, Patrick Palka via Libstdc++ wrote:
As per P0202.

Tested on x86_64-pc-linux-gnu.

libstdc++-v3/ChangeLog:

        * include/bits/stl_algo.h (for_each_n): Mark constexpr for C++20.
        (search): Likewise for the overload that takes a searcher.
        * testsuite/25_algorithms/for_each/constexpr.cc: Test constexpr
        std::for_each_n.
        * testsuite/25_algorithms/search/constexpr.cc: Test constexpr
        std::search overload that takes a searcher.
---
libstdc++-v3/include/bits/stl_algo.h                 |  2 ++
.../testsuite/25_algorithms/for_each/constexpr.cc    | 12 ++++++++++++
.../testsuite/25_algorithms/search/constexpr.cc      |  4 ++++
3 files changed, 18 insertions(+)

OK, thanks.


Reply via email to