Boost logo

Boost :

Subject: Re: [boost] Reforming Boost.System and <system_error> round 2
From: Robert Ramey (ramey_at_[hidden])
Date: 2018-01-16 14:22:18


On 1/16/18 5:30 AM, Andrey Semashev via Boost wrote:
> On 01/16/18 02:37, Robert Ramey via Boost wrote:
>> On
>> Can't one just have "if(ec) ..." invoke a syntax error?
>
> Obviously, this will break lots of code for no good reason.

Truth is - If I see this I don't know what it actually means.
I bet that half the code that would fail to compile is wrong. So I would
argue that this would UNbreak lots of code.

>I think, the
> understanding of the meaning of such tests is more or less established.

not to me. But maybe that's just me.

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk