
On Mon, Dec 10, 2012 at 7:13 PM, Olaf van der Spek <ml@vdspek.org> wrote:
On Sat, Dec 8, 2012 at 12:44 PM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
Le 08/12/12 12:11, Vicente J. Botet Escriba a écrit :
Hi,
https://svn.boost.org/trac/boost/changeset/81780 " Use explicit operator bool when available; ..." introduces a breaking change on shared_ptr in Boost.Thread and Boost.Test at least. I would preferred if this breaking change was announced and why not added conditionally so that the user could move smoothly to the new semantic.
Anyway, I wanted to make this evident so that the Boost maintainer using this facility fixes their code as soon as possible.
What's the rationale for this breaking change? Isn't compatibility with previous Boost releases more important?
I'd consider implicit conversion to bool more a bug than a feature. Just my 5 cents.