C++ Logo


Advanced search

Re: [std-proposals] Draft Proposal of std::contains Utilities to the C++ Standard Library

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Fri, 1 Mar 2024 15:47:59 +0100
On 01/03/2024 14:36, Barry Revzin via Std-Proposals wrote:
> In order to have this, you'd have to figure out how to solve the problem
> that ranges::contains(r, v) is equality-based on r.contains(v) might not be.

Sure, establishing the customization protocol sounds ... "challenging".
That's why I just want vector::contains.

Thank you,
Giuseppe D'Angelo

Received on 2024-03-01 14:48:03