C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Return Value Optimisation whenever you need it (guaranteed elision)

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 13 Aug 2023 16:11:27 -0700
On Sunday, 13 August 2023 12:10:18 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> I think the following would be better:
> for return Widget w = 42;

for (return Widget w = 42;;);

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-08-13 23:11:30