C++ Logo

std-proposals

Advanced search

Re: String contains member function

From: Nevin Liber <nevin_at_[hidden]>
Date: Fri, 31 May 2019 11:59:53 -0500
On Mon, May 27, 2019 at 1:31 PM Wim Leflere via Std-Proposals <
std-proposals_at_[hidden]> wrote:

>
> https://github.com/WimLeflere/cpp-papers/blob/master/string_contains_function.md
>

Given that there are a number of different algorithms that can be used
(everything in [func.search] <http://eel.is/c++draft/func.search>, for
example), I'd much rather leave that choice up to the developer (as it is
now) rather than bake in yet another algorithmic member function into the
interface of string.
-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden] <nevin_at_[hidden]>>
+1-847-691-1404

Received on 2019-05-31 12:02:17