DIP 45 - approval discussion

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Nov 13 08:09:02 PST 2013


On 11/13/13 2:46 AM, Jacob Carlborg wrote:
> On 2013-11-13 10:27, Andrei Alexandrescu wrote:
>
>> With Object.factory that's taken care of already.
>
> No, you need to register the subclasses as well. The static type
> information is lost for the subclasses.

We are definitely talking about different things.

>      if (auto classInfo = ClassInfo.find(name))

You didn't have to register for find to work, which was my point.


Andrei




More information about the Digitalmars-d mailing list