On Wed, Jul 11, 2012 at 01:50:23PM -0400, Andrei Alexandrescu wrote: > On 7/11/12 1:49 PM, deadalnix wrote: > >I think they should. Comparing the same object 2 time should > >definitively have the same result back, otherwise things will go > >horribly wrong soon enough. > > Yah, but e.g. a comparison may log something. [...]
I think it's a given that purity is out the window once debugging is involved. (I assume comparison logging is only for debugging, otherwise you must have a very very strange use for comparison operators.) T -- "Holy war is an oxymoron." -- Lazarus Long