Thank you Christof for telling me and everyone who brought that paper to the light of day. That was a nice pick me up. I really hope people talk more about this great feature.

On Wed, Sep 28, 2022 at 12:50 PM Christof Meerwald <> wrote:
On Wed, Sep 28, 2022 at 12:29:22PM -0400, Phil Bouchard via Std-Proposals wrote:
> Yeah I agree with that, in a way to make C++ stricter, safer and simpler. I
> would add also: "return of reference to local variables":
> int & foo()
> {
>     int i;
>     return i;
> }
> Apparently this issue is not even detected by Visual Studio C++ in 2022.

That's already addressed in C++23 by "Simpler
implicit move".


--                             sip:cmeerw at
mailto:cmeerw at                   xmpp:cmeerw at