isValidGetter.isValidGetter

Undocumented in source.
  1. enum bool isValidGetter;
    template isValidGetter(T : Object, string m)
    static if((m.startsWith("get") || m.startsWith("is")) && hasPublicMember!(T, m))
    static if(is(typeof(__traits(getMember, T, m)) == function))
    static if(ParameterTypeTuple!(typeof(__traits(getMember, T, m))).length == 0)
    static if(isValidSetter!(T, getterNameToSetterName(m), rti))
    enum bool isValidGetter;
  2. enum bool isValidGetter;
  3. enum bool isValidGetter;
  4. enum bool isValidGetter;

Meta