object.opEquals return type
Janice Caron
caron800 at googlemail.com
Sun Feb 24 07:04:50 PST 2008
On 24/02/2008, Edward Diener <eddielee_no_spam_here at tropicsoft.com> wrote:
> Why is the return type of object.opEquals an 'int' rather than a 'bool' ?
I haven't the faintest idea. However, I have submitted to bugzilla
that the signature of opEquals (and opCmp, toString, etc.) should be
fixed for const correctness. Perhaps the return type could be changed
to bool in the same move? As in
const bool opEquals(const(Object) o)
More information about the Digitalmars-d
mailing list