C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Try-catch declaration

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 22 Nov 2023 17:22:11 -0800
On Wednesday, 22 November 2023 03:56:09 PST sasho648 via Std-Proposals wrote:
> Because I only care about the exception thrown at `func()` and don't want
> to have exception handling for the rest of the code.

Why not?

Can you give a couple of use-cases of handling valid exceptions from some
functions and not from others?

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

Received on 2023-11-23 01:22:13