Boost logo

Boost :

Subject: Re: [boost] Boost.Fiber review January 6-15
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2014-01-13 00:09:36

2014/1/11 Oliver Kowalke <oliver.kowalke_at_[hidden]>

> 2014/1/11 Rob Stewart <robertstewart_at_[hidden]>
> > That isn't an issue when the conversion operator is explicit, which
> > Vicente suggested.
> >
> many other boost libraries use the safe_bool idiom - I believe it's not bad
> to follow this 'common' coding practice

I'll try to stop the 'explicit bool operator problem' discussion by this

Just use the BOOST_EXPLICIT_OPERATOR_BOOL macro and let the library
maintainer cope with explicit-bool-operator/safe_bool problem :)

Best regards,
Antony Polukhin

Boost list run by bdawes at, gregod at, cpdaniel at, john at