C++ Logo


Advanced search

Re: [std-proposals] RTTI in current_exception

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Tue, 10 Jan 2023 10:38:42 +0200
On Tue, 10 Jan 2023 at 02:23, Thiago Macieira via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> As I said, throwing types not derived from std::exception should be
> discouraged by recommendation.

I'm not so convinced of that. Some applications have been designed
with the plausible rationale that
their domain-specific exceptions are separate from standard library
exceptions, and are to be treated as such.

Received on 2023-01-10 08:38:55