X-Git-Url: https://mattmccutchen.net/bigint/bigint.git/blobdiff_plain/4efbb07622a0aa83db4fe05ca8c17aca406ed928..00c6448a6c5fc7a68427ca1dc3f5f523563e1041:/NumberlikeArray.hh diff --git a/NumberlikeArray.hh b/NumberlikeArray.hh index 3b018a4..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,11 +108,12 @@ 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); } }; /* +* ================================= * BELOW THIS POINT are template definitions; above are declarations. * * Definitions would ordinarily belong in a file NumberlikeArray.cc so that they would