Listing all functions in a module

Phil theotherphil at hotmail.com
Sun Mar 23 05:28:05 PDT 2014


On Sunday, 23 March 2014 at 12:20:51 UTC, Phil wrote:
> Is it possible to enumerate all functions in a module? I'd like 
> my test program to find the functions in a fibrary with a 
> particular attribute defined, but I can't find any way to do 
> this. I've looked in std.traits; maybe I'm missing something.

Ah, allMembers does the trick. Probably could have spent a bit 
longer googling that one before posting!


More information about the Digitalmars-d-learn mailing list