16 Jan
2018
16 Jan
'18
3:39 p.m.
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.
or:
``` if (ec.failure()) ```
?
I really don't see the point of this.