[Bug libstdc++/71899] An internal BooleanTestable trait should be provided
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 19 19:16:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71899
--- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
(In reply to Ville Voutilainen from comment #2)
[..]
> I'm also not a fan of the name boolean_testable
Note that no-one yet has made an improved name suggestion for this thingee that
is discussed in LWG 2743. Unless this happens, I think that the corresponding
trait should match this name and should match the intention of what is tested
here.
> - perhaps boolean_like would
> be better? The rationale being that there are "boolean testable" types
> that work in cases where a contextual conversion to bool is performed,
> but those types are otherwise not "boolean-like".
If you believe so, please make a corresponding comment to LWG 2743 and convince
people for accepting this revised name.
More information about the Gcc-bugs
mailing list