Boost logo

Boost :

From: Gavin Collings (gcollings_at_[hidden])
Date: 2000-03-10 06:14:00


> > Small nit-pick: you use the name "RealType" for the template
> > argument. Actually, this could be a complex type or even another
> > interval type (intervals of intervals have some interesting
> > properties

> Ahh, I've now gotten to your documentation and see you do have the
> requirements of the "RealType" listed, so my quibble reduces to just
> the name choice :) How about ArithmeticType or NumericType?
> Or maybe just use T.

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.

Gavin


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