C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Extend std::type_info with more information

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 12 Apr 2024 18:07:20 -0700
On Friday 12 April 2024 17:51:05 GMT-7 Frederick Virchanza Gotham via Std-
Proposals wrote:
> Then we want to be able to determine if the contained object has a
> base T. So all we have to work with is:
> (1) The address of the object
> (2) The type_info of the object

Assume it is and write your proposal. The implementations will either confirm
that it is and implement it in the proper way, or they will tell the committee
it is impossible.

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

Received on 2024-04-13 01:13:09