Improve the OOP ABI

deadalnix deadalnix at gmail.com
Thu Sep 28 15:39:22 UTC 2023


On Thursday, 28 September 2023 at 14:41:16 UTC, Guillaume Piolat 
wrote:
> On Thursday, 28 September 2023 at 14:31:33 UTC, deadalnix wrote:
>>>
>>> TypeInfo isn't guaranteed to be unique to a process when 
>>> dealing with shared libraries. There is a strong chance it'll 
>>> be duplicative.
>>>
>>> So this won't work.
>>>
>>
>> lol, wat?
>>
>> That sounds crazy.
>
> I think it's the same in C++, and sometimes dynamic_cast ends 
> up making string comparisons.

What's the reason for this madness?


More information about the Digitalmars-d mailing list