Chances of D getting proper runtime reflection?

Kagamin spam at here.lot
Mon Aug 22 04:27:51 PDT 2011


Jacob Carlborg Wrote:

> I already have a fully working serialization library. I'm hoping to make 
> it better. The problem is when (de)serializing through a base class 
> reference. Currently you need to register the subclass with the 
> serializer. If T is Base and the actually runtime type is Sub it won't work.

In .net it won't work either. You have to specify known classes explicitly.


More information about the Digitalmars-d mailing list