Boost logo

Boost :

From: Herve Bronnimann (hbr_at_[hidden])
Date: 2002-09-07 03:37:25


On Fri, Sep 06, 2002 at 10:39:20PM -0400, Herve Bronnimann wrote:
> > Hypothetically, if that was the prime purpose, then the only sensible
> > choice for ordering would be "shorter than", which would only be defined
> > for at least overlapping intervals.
>
> No, the sensible choice is one that extends the order on T, because as
> was mentioned in other messages, interval<T> is suppose to replace T in
> generic programs (generic as in: with a template number type). Such an
> order allows

Sorry, should have finished my sentence here. Such an order allows code
templated by T to be instantiated by interval<T> without a big change in
semantics.

-- 
Herve'

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