C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Stop gap required for NRVO until Anton's paper is assimilated

From: Lénárd Szolnoki <cpp_at_[hidden]>
Date: Thu, 11 Jul 2024 21:22:52 +0100
On 11 July 2024 21:19:46 BST, Thiago Macieira via Std-Proposals <std-proposals_at_[hidden]> wrote:
>On Thursday 11 July 2024 13:11:23 GMT-7 Brian Bi wrote:
>> It's also to force the compiler to accept the code even when the return type
>> is not movable---which is the use case that Frederick is targeting.
>
>I am not convinced that that need exists in the first place. See past
>discussions.

Regardless, we could serve both needs with the same opt-in syntax.

Received on 2024-07-11 20:22:55