
31 Aug
2009
31 Aug
'09
5:02 p.m.
AMDG Frédéric Bron wrote:
Anybody wanting to review this very short addition to type_traits?
I can add that one important question of the review is: should we report that T is less comparable if T<T returns void? Currently it returns true but the implementation generates warnings in g++. However, I imagine that if someone wants to know if T<T works, it is to get the result (this is my use of it).
To be strictly correct, it should only return true if the result is convertible to bool. In Christ, Steven Watanabe