compile time output

Trass3r mrmocool at gmx.de
Tue Jan 20 15:25:51 PST 2009


Trass3r schrieb:
> This works:
> 
> string foo(const string[] members)
> {
>     string result;
>     foreach(m; members)
>         result ~= m ~ " ";
>     return result;
> }
> 

Furthermore there seems to be no way to use these member names in a 
__traits(getMember, class, m) call.

This is driving me crazy.


More information about the Digitalmars-d-learn mailing list