[v3 PATCH] Implement P0307R2, Making Optional Greater Equal Again.

Daniel Krügler daniel.kruegler@gmail.com
Sat Jul 16 16:55:00 GMT 2016


2016-07-13 20:32 GMT+02:00 Ville Voutilainen <ville.voutilainen@gmail.com>:
> On 13 July 2016 at 21:25, Daniel Krügler <daniel.kruegler@gmail.com> wrote:
>> How would you feel about the introduction of an internal trait
>> __is_boolean_testable, that would test both is_convertible<const T&,
>> bool> and is_constructible<bool, const T&> for now, so that we could
>> reuse that at places like these and others pointed out by LWG 2114?
>>
>> If you like that idea, I would work on a contribution.
>
> Sounds like an excellent idea to me.

I have opened an enhancement request and have now a (actually two)
proposal(s) for this. I would appreciate if you could express your
opinion here:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71899#c1

Thanks,

- Daniel



More information about the Libstdc++ mailing list