Subject: Re: [boost] Reforming Boost.System and <system_error> round 2
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2018-01-16 15:39:15
On 01/16/18 18:35, Andrzej Krzemienski via Boost wrote:
> How about annotating the conditional conversion to bool deprecated? It
> still compiles and works as before, but with compiler flag
> `-Werror=deprecated` can be turned into compiler error on demand, and then
> you are forced to rewrite to either:
> if (ec.value() != 0)
This is not correct if we're going to accept Niall's proposal.
> if (ec.failure())
I really don't see the point of this.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk