all functions that have a first arg of type T

BBasile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 25 20:21:15 PST 2016


On Friday, 26 February 2016 at 04:19:29 UTC, BBasile wrote:
> static if (__traits(isStaticFunction,typeof(m2)))
>
> static if (__traits(isStaticFunction, __traits(getMember, 
> vulkan_input, m2))))

Sorry don't copy paste like this there's a superfluous right 
paren.

static if (__traits(isStaticFunction, __traits(getMember, 
vulkan_input, m2)))




More information about the Digitalmars-d-learn mailing list