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


Reply via email to