compile time output
BCS
ao at pathlink.com
Tue Jan 20 13:11:17 PST 2009
Reply to Trass3r,
> auto members = __traits(allMembers, typeof(this));
try switching that to
> const[][] members = __traits(allMembers, typeof(this));
if that doesn't fix it try dropping this part (it might make it clearer what's
going on)
> static if (is (typeof(__traits(getMember, this, members[m])) F ==
> function))
> {
> pragma(msg, "function");
> }
Looking at the rest of the thread, I think you might be looking at a bug.
More information about the Digitalmars-d-learn
mailing list