[all-commits] [llvm/llvm-project] e739ce: [libc++] Add missed `constexpr` to `erase(_if)` in...
A. Jiang via All-commits
all-commits at lists.llvm.org
Tue Mar 4 16:31:50 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e739ce2e10e60a2f3363b1ba26c388c7d7aa7bd4
https://github.com/llvm/llvm-project/commit/e739ce2e10e60a2f3363b1ba26c388c7d7aa7bd4
Author: A. Jiang <de34 at live.cn>
Date: 2025-03-05 (Wed, 05 Mar 2025)
Changed paths:
M libcxx/include/string
M libcxx/test/std/strings/strings.erasure/erase.pass.cpp
M libcxx/test/std/strings/strings.erasure/erase_if.pass.cpp
Log Message:
-----------
[libc++] Add missed `constexpr` to `erase(_if)` in `<string>` (#129666)
`std::erase(_if)` for `basic_string` were made `constexpr` in C++20 by
cplusplus/draft at 2c1ab9775cc53e848a1efff4f9976455538994d4 as follow-up
changes of P0980R1.
This patch implements the missed changes that were not tracked in a
specific paper.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list