C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Bulldoze Exceptions

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 25 Feb 2024 16:01:07 +0100
On Sunday, 25 February 2024 15:03:23 CET Frederick Virchanza Gotham via Std-
Proposals wrote:
> The cleanup code might throw an exception, and if it does, you want it to
> keep bulldozing forward with the cleanup

Wouldn't splitting it into multiple std::scope_exit / scope_failure / etc
blocks solve this problem?

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

Received on 2024-02-25 15:01:13