
11 Oct
2009
11 Oct
'09
5:24 a.m.
First, I'd like to say I think this would be a useful addition to Boost.TypeTraits, and I appreciate your work Frederic ;) Thanks!
2) At the very least, boost::tribool is a legitimate return value (in addition to bool) for any of the comparison operators, which indicates to me that the interface should allow specification of the result type of a comparison operator.
I will try to make the checked return type a template defaulted to bool but I am not sure it will work. Frédéric