[PATCH] D93912: [libc++][P1679] add string contains
Mark de Wever via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 10:58:09 PST 2021
Mordante added a comment.
In D93912#2515767 <https://reviews.llvm.org/D93912#2515767>, @WimLeflere wrote:
> The paper is fully implemented.
>
> With the caveat that `std::string::contains` is not `constexpr` yet.
> `std::string_view::contains` is `constexpr`
Looking at the code that's only because `std::string` itself can't be used as `constexpr` yet. The patch has the proper `constexpr`.
I'll update the status page. Thanks for the information.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93912/new/
https://reviews.llvm.org/D93912
More information about the llvm-commits
mailing list