bool Data_equal (Daata me, Daata thee) { if (my classInfo != thy classInfo) return false; // different class: not equal int offset = sizeof (struct structDaata); // we already compared the methods, and are going to skip the names if (! memcmp ((char *) me + offset, (char *) thee + offset, my classInfo -> size - offset)) return true; // no shallow differences return my v_equal (thee); }
bool NodeStorageBase::Iterable::equal(ClonePtr<Iterable> const &other) const { return v_equal(other); }