C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Safer API for minmax with friends?

From: Ell <ell_se_at_[hidden]>
Date: Fri, 7 Mar 2025 13:55:02 +0200
On 3/7/25 09:52, Robin Savonen Söderholm via Std-Proposals wrote:
> The case with 'swap' is mitigated as minmax returns const&, not just &.

It's not the return values that are being swapped, though :)

Received on 2025-03-07 11:55:13