Listing all functions in a module

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


On Sunday, 23 March 2014 at 12:31:47 UTC, Rikki Cattermole wrote:
>
> Well I just made this for you, so here it is anyway:
> ...
> 	static if (__traits(isStaticFunction, __traits(getMember, 
> mymodule, m))) ...

Thanks, that's very helpful; it answered my next question which 
was going to be why __traits(someTrait, 
nameOfSymbolInAnotherModule) didn't work.


More information about the Digitalmars-d-learn mailing list