C++ Logo

std-proposals

Advanced search

Re: [std-proposals] escaping nested scopes : __escape

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 01 May 2023 10:39:19 -0700
On Monday, 1 May 2023 06:53:44 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> In the above code we have nested scopes but no loops. If we had an
> '__escape' keyword we could escape out of the nested scopes (and
> appropriately call destructors when doing so -- thereby unlocking the
> mutexes in the above example).

We could with the extensions proposed by the previous ideas too. Can you
clarify why your proposal is better than or more likely to be accepted than
the previous ones? What have you addressed in their criticism?

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

Received on 2023-05-01 17:39:22