opEqualsPart.opEqualsPart

Undocumented in source.
  1. enum opEqualsPart;
  2. enum opEqualsPart;
    template opEqualsPart(p...)
    static if(!(p.length > 1))
    static if(p.length && !isSomeFunction!(typeof(__traits(getMember, T, p[0]))) && !p[0].among("comment", "line", "column", "endLocation", "startLocation", "index", "dotLocation"))
    static if(isDynamicArray!(typeof(__traits(getMember, T, p[0]))))
    enum opEqualsPart = "\tif (obj." ~ p[0] ~ ".length != " ~ p[0] ~ ".length) return false;\n" ~ "\tforeach (i; 0 .. " ~ p[0] ~ ".length)\n" ~ "\t\tif (" ~ p[0] ~ "[i] != obj." ~ p[0] ~ "[i]) return false;\n";
  3. enum opEqualsPart;
  4. enum opEqualsPart;

Meta