C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Draft proposal for std::contains and its variants

From: Barry Revzin <barry.revzin_at_[hidden]>
Date: Tue, 13 Feb 2024 13:12:17 -0600
On Tue, Feb 13, 2024 at 12:19 PM Robert Sitton via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> I have included a proposal that draws both our group's discussions and my
> own research into different languages. Please review this draft and let us
> know what you think.
>
> Robert
> This communication contains confidential information and may be
> privileged. If you are not the intended recipient or believe that you have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received. You should also not print,
> copy, re-transmit, disseminate, or otherwise use the information unless
> expressly indicated in this communication.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals


std::ranges::contains already exists:
https://en.cppreference.com/w/cpp/algorithm/ranges/contains.

Barry

Received on 2024-02-13 19:12:30