C++ Logo

std-proposals

Advanced search

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

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Thu, 11 Apr 2024 15:16:16 +0200
On 11/04/2024 14:17, Tiago Freire via Std-Proposals wrote:
> And while I can get behind an addition into “any_cast”, the conversation
> has been hijacked by an hacky change of std::type_info (which is
> irrelevant you don’t need to change it).

> It looks like you are asking for A to get you B, you can just ask for B
> without A. And what the OP is asking is A, B was only an after taught to
> find a justification for A, which he had no justification at all, 0
> reasons. It still confuses me how the information sizeof and alignof
> would actually help you to identify the underlying type.
>

I think all of these nuances got lost in the thread.

To sound like a broken record: could we please discuss a *concrete
proposal* with *rationale*, rather than a constantly changing stream of
ideas?


Thank you,

--
Giuseppe D'Angelo

Received on 2024-04-11 13:16:20