Date: Fri, 7 Mar 2025 12:56:50 +0100
Sorry, read your mail too quickly. Yes, you are correct, that _is_ an
unexpected behaviour as well...
// Robin
On Fri, Mar 7, 2025, 12:55 Ell via Std-Proposals <
std-proposals_at_[hidden]> wrote:
>
>
> 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 :)
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
unexpected behaviour as well...
// Robin
On Fri, Mar 7, 2025, 12:55 Ell via Std-Proposals <
std-proposals_at_[hidden]> wrote:
>
>
> 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 :)
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Received on 2025-03-07 11:57:04