Feature discussion: __traits(getSource, function)
dennis luehring
dl.soluz at gmx.net
Fri Oct 15 09:34:14 PDT 2010
Am 15.10.2010 18:28, schrieb Adam D. Ruppe:
> I have what might be a weird request here: a way to get the source code of a
> function (or maybe class, etc. too) out of the compiler as a string literal.
as weird as a _traits( getAST, function ) would be :)
my personal feeling is that every compiletime knowledge should be
accessable through traits (and maybe change-able)
More information about the Digitalmars-d
mailing list