Chances of D getting proper runtime reflection?
Robert Clipsham
robert at octarineparrot.com
Sun Aug 21 08:30:00 PDT 2011
On 21/08/2011 16:05, Jacob Carlborg wrote:
> This is for a serialization library where third party types need to be
> serializable. I don't like the idea of annotate everything that should
> be serializable.
You don't need to annotate it:
void serialize(T)(T something);
You have access to all the CT reflection stuff, and can generate the
necessary runtime reflection with that.
--
Robert
http://octarineparrot.com/
More information about the Digitalmars-d
mailing list