X-Git-Url: https://mattmccutchen.net/bigint/bigint.git/blobdiff_plain/a8b42b686243a175ea328c74609c7de6a0163274..0551c03b5862aafe7f5f88cf282ebf96621c6c80:/NumberlikeArray.hh diff --git a/NumberlikeArray.hh b/NumberlikeArray.hh index 345cfd7..ab0aae0 100644 --- a/NumberlikeArray.hh +++ b/NumberlikeArray.hh @@ -1,6 +1,5 @@ /* * Matt McCutchen's Big Integer Library -* http://mysite.verizon.net/mccutchen/bigint/ */ /* @@ -60,7 +59,7 @@ class NumberlikeArray { * `NULL' as if it were a zero-length array from `new'. * * This is a great convenience because the only code that need be changed - * is the array allocation code. All other code will still work file. + * is the array allocation code. All other code will still work fine. */ // MANAGEMENT @@ -109,7 +108,7 @@ class NumberlikeArray { // Derived classes may wish to override these if differing arrays can // sometimes be considered equivalent. bool operator ==(const NumberlikeArray &x) const; - bool operator !=(const NumberlikeArray &x) const; + bool operator !=(const NumberlikeArray &x) const { return !operator ==(x); } };