Making `object.opEquals' replaceable

Manfred Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sat May 9 00:01:25 PDT 2015


ketmar wrote:
> i'd be VERY surprised if `==` or `!=` does any mutation. and i 
> (like most programmers) don't like such surprises in code.

The side effect I used was logging. And me _was_ surprised not to 
get the expected number of log-lines.

-manfred



More information about the Digitalmars-d mailing list