Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-03-11 13:28:03


Gavin Collings writes:
>
> Requirements which include LessThanComparable. std::complex isn't
> LessThanComparable. Should it be valid to write interval<complex<> >?
> A previous answer to this question was to use complex<interval<> >
> instead.

I think unconditional requirement for LessThanComparable is not
needed. Instead, interval<T> should be LessThanComparable *if*
T is LessThanComparable.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk