C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Iterators for basic_string and basic_string_view find functions

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Fri, 20 Oct 2023 10:41:43 -0400
On Fri, Oct 20, 2023 at 10:29 AM Yexuan Xiao via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> The constructor, assign, insert, append, erase, and replace for basic_string all have versions that take iterator pairs.

Those are container operations; algorithms *cannot* replace them.
We're talking about circumstances where algorithms *could* be used.

Received on 2023-10-20 14:42:01