C++ Logo

std-proposals

Advanced search

Re: Initialisers in ternary operators

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sat, 12 Sep 2020 09:31:23 -0700
On Friday, 11 September 2020 06:28:24 PDT Richard Hodges via Std-Proposals
wrote:
> a) convincing everyone that the existing lambda syntax is not sufficient

A return statement in a statement-expression returns from the controlling
context; a return statement in a lambda returns only from the lambda to the
point where it was called.

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

Received on 2020-09-12 11:31:26