On Saturday, 13 August 2016 at 18:34:43 UTC, Engine Machine wrote:
    static if (hasStaticMember!(T, "foo"))

Here I suspect you're looking for this:
__traits(isStaticFunction, __traits(getMember, T, "foo"))

Reply via email to