all functions that have a first arg of type T

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 25 20:25:30 PST 2016


On Friday, 26 February 2016 at 04:21:15 UTC, BBasile wrote:
> 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)))

thanks

Nic


More information about the Digitalmars-d-learn mailing list