C++ Logo


Advanced search

Re: [std-proposals] std::typeid_except ( Paper Attached )

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Wed, 6 Mar 2024 08:07:28 +0000
On Fri, Mar 1, 2024 at 12:18 PM Frederick Virchanza Gotham wrote:
> We should have access to the 'type_info' of any object that is thrown,
> even if it is caught inside a 'catch(...)' block.

I've made a few cosmetic changes to the paper and I think it's ready
now, see here:


I've also attached it to this email.

In 48 hours' time, I will email the paper to the vice-chair Nevin
Liber to obtain a document number.

So lastly, can I get suggestions from people on what this new function
should be called? Presently it's called 'typeid_except', and I called
it this because I wanted it to resemble the 'typeid' operator. I was
reluctant to have 'exception' in the name as I don't want any
confusion about whether it has anything to do with the class named
"std::exception". A few other possible names:


Received on 2024-03-06 08:07:41