
21 May
2018
21 May
'18
12:34 a.m.
On 20/05/2018 06:34, Robert Ramey wrote:
As usual, discussions have gotten off on various tangents.
My proposal is to replace the safe_bool idiom used in boost::tribool with a simple operator bool.
I'm strongly opposed to downgrading from safe_bool to implicit bool. Upgrading to explicit bool is ok, but you can only do that on C++11; it's not safe in older compilers. I would be ok with #if logic that uses safe_bool on older compilers and explicit bool on C++11 and up.