C++ Logo

std-proposals

Advanced search

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

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 04 Mar 2024 15:27:08 -0800
On Friday, 1 March 2024 04:18:15 PST Frederick Virchanza Gotham via Std-
Proposals wrote:
> We should have access to the 'type_info' of any object that is thrown,
> even if it is caught inside a 'catch(...)' block.

Prior art: __cxa_current_exception_type
See https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html#cxx-catch,
https://libcxxabi.llvm.org/spec.html

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

Received on 2024-03-04 23:27:13