Templates and stringof...

Jonathan M Davis jmdavisProg at gmx.com
Sat Aug 4 01:06:18 PDT 2012


On Saturday, August 04, 2012 09:57:36 Philippe Sigaud wrote:
> For std.reflection that Andrei proposed 2 weeks ago, I feel the internal
> code will contain many __traits() calls. Nothing to be done about it.
> __traits is *the* way compile-time introspection is done in D.

That and std.traits. Between those two and the power of is expressions, that's 
where the ability to do compile-time introspection comes from.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list