hasOverload.hasOverload

Undocumented in source.
  1. enum hasOverload;
  2. enum hasOverload;
    template hasOverload(T, ElemType, string ElemName)
    static if(is(T == class) || is(T == struct) || is(T == interface) || is(T == union))
    static if(!(isCallable!ElemType))
    enum hasOverload = staticIndexOf!(ElemName, __traits(allMembers, T)) != -1 && is(typeof(__traits(getMember, T, ElemName)) == ElemType);
  3. enum hasOverload;

Meta