BetterC and TypeInfo Question
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jun 22 19:14:08 PDT 2017
On Friday, 23 June 2017 at 00:41:11 UTC, sarn wrote:
> Does it matter? C++ programmers already accept that RTTI is
> needed for certain dynamic features.
Yes, it is necessary, but how much? Can we do it with implicitly
generated library code?
I'm pretty sure the answer is "not much" and "yes", but I still
need to ponder the details. I think the typeinfo for a class good
enough for dynamic cast could be about half the size we have now.
Though like I said, a lot of the stuff we have now is cool stuff,
so I don't want to miss it entirely, it could be behind another
pointer.
More information about the Digitalmars-d-learn
mailing list