Boost logo

Boost :

Subject: Re: [boost] review request: addition to type_traits library of is_less_comparable<T, U> and others
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2009-10-11 01:24:50

> First, I'd like to say I think this would be a useful addition to
> Boost.TypeTraits, and I appreciate your work Frederic ;)

> 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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at