C++ Logo

STD-PROPOSALS

Advanced search

Subject: [std-proposals] String contains member function
From: Wim Leflere (wim.leflere_at_[hidden])
Date: 2019-05-27 13:30:44


Hello,

After seeing that 'starts_with' and 'ends_with' were added to std::string
in C++20 (P0457), I was wondering why 'contains' was still missing as a
std::string member function.
So I wrote a proposal (starting from P0457) to add it.

Please find the draft of the proposal here:
https://github.com/WimLeflere/cpp-papers/blob/master/string_contains_function.md

I am looking forward to your valuable comments.

Thanks,

Wim Leflere



STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups