C++ Logo

std-proposals

Advanced search

Re: [std-proposals] RTTI in current_exception

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Mon, 9 Jan 2023 11:30:41 +0200
On Mon, 9 Jan 2023 at 11:21, Frederick Virchanza Gotham via
Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> I've written a short paper advocating for the availability of RTTI
> inside the body of a 'catch(...)', I've attached it to this email and
> you can also download it from:
>
> http://www.virjacode.com/download/RTTI_current_exception_draft1.pdf

This proposal
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1066r1.html
seems to cover the functionality, considering that it has

type_info* type() const;

Returns the type_info corresponding to the exception held by this exception_ptr.

in it. The proposal would need to be resurrected.

Received on 2023-01-09 09:30:53