Boost logo

Boost :

Subject: Re: [boost] [system] Would it be possible to trial a breaking change to Boost.System and see what happens?
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2018-01-19 18:05:38


> People are still trying to figure out how to use error_code and having trouble
> because it isn't well explained. Ideas like "if(! ec)" should not be used to
> check for success do nothing to improve this situation.

What do you think of my proposed fix Vinnie, so the boolean conversion
would ask the category whether the code means success or failure? That
means a virtual function call being added in where there is none currently.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

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