|
Boost : |
Subject: Re: [boost] [system] Would it be possible to trial a breaking change to Boost.System and see what happens?
From: Peter Dimov (lists_at_[hidden])
Date: 2018-01-12 18:46:31
Andrey Semashev wrote:
> > It will only be broken if you rely on `error_code( 0, some-category )`
> > to contextually-convert to `false`.
>
> I'm not sure how I can *not* rely on that since I construct `error_code`
> from enums or ints, all of them having 0 as the "success" value precisely
> to allow the contextual conversion produce the intended result.
That's exactly what Niall wanted to know, I suppose; would it be possible
for you to give specific examples from your code that would be broken?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk