11 Jan
2014
11 Jan
'14
4:33 p.m.
On Sat, Jan 11, 2014 at 11:18 AM, Rob Stewart
On Jan 11, 2014, at 11:01 AM, Nat Goodspeed
wrote: the bad case is when class X and class Y provide operator bool. A coder inadvertently writes:
if (myXinstance == myYinstance) ...
That isn't an issue when the conversion operator is explicit, which Vicente suggested.
http://permalink.gmane.org/gmane.comp.lib.boost.devel/248167