loop through specific class members

Trass3r mrmocool at gmx.de
Mon Jan 19 09:41:49 PST 2009


Daniel Keep schrieb:
> Assuming you're using D2, http://digitalmars.com/d/2.0/traits.html might
> prove to be of interest.
> 
>   -- Daniel

It is indeed of interest though being not exactly what I want. Seems 
like there's currently no way to get attributes like public etc.

But I think an acceptable workaround would be to use a common name 
prefix for specific methods and then use that allMembers trait.


More information about the Digitalmars-d-learn mailing list