|
Boost : |
Subject: Re: [boost] Boost.Fiber review January 6-15
From: Nat Goodspeed (nat_at_[hidden])
Date: 2014-01-11 11:33:08
On Sat, Jan 11, 2014 at 11:18 AM, Rob Stewart <robertstewart_at_[hidden]> wrote:
> On Jan 11, 2014, at 11:01 AM, Nat Goodspeed <nat_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk