object.factory with template classes for serializing subclasses automatically

Jacob Carlborg doob at me.com
Mon Sep 10 23:31:02 PDT 2012


On 2012-09-11 07:57, Chris Cain wrote:

> Ah, I see now.
>
> Well regardless, it couldn't be done so conveniently/transparently
> because Serializable!B wouldn't exist in the binary unless it was
> actually created in code.

Hence proper runtime reflection is needed. I see no way out of this.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list