Generate toString() method at compile time

bearophile bearophileHUGS at lycos.com
Wed Mar 26 07:23:10 PDT 2014


Ary Borenszweig:

> I tried using getAllMembers, but that also gives me all methods 
> of Foo. I just want the fields.

You can try to filter the results of getAllMembers.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list