nullCheck.nullCheck

Undocumented in source.
  1. enum nullCheck;
    template nullCheck(T, string name, string reverseStr)
    static if(is(typeof(T.init is null)))
    enum nullCheck = " if (this." ~ name ~ " is null && _AutoDataOther." ~ name ~ " is null) { /* skip */ } else if (this." ~ name ~ " is null && _AutoDataOther." ~ name ~ " !is null) return " ~ reverseStr ~ "(-1); else if (this." ~ name ~ " !is null && _AutoDataOther." ~ name ~ " is null) return " ~ reverseStr ~ "( 1); else";
  2. enum nullCheck;

Meta