C++ Logo

std-proposals

Advanced search

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

From: Jan Schultke <janschultke_at_[hidden]>
Date: Tue, 13 Feb 2024 22:44:29 +0100
std::ranges::contains is an algorithm which will not use
container.contains() even if available.

The proposed std::contains is more like a customization point, similar
to std::size

Received on 2024-02-13 21:44:41