Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2000-08-01 14:50:28

From: "Valentin Bonnard" <Bonnard.V_at_[hidden]>
> why don't you use the boost utilities in order
> to implement !=, >=, <=, > ?

I thought that too initially, but then realised that do to so
would require base classes, and aggregates can't have them.
> To get such support you have to give-up the internal T array, so
> it means direct "= { foo, bar }" style initialisation won't be
> available anymore.

Which is too big a price to pay, IMHO. A good idea for another
class which I would encourage you to submit, but aggregate
initialisation is the one thing that makes the array useful.

>> - making rangecheck() const
>Why isn't it also private (and static) ?

It should be private, as several people pointed out in the review.
However some broken compilers (Borland) won't allow it to be
private if array is to remain an aggregate. Therefore I think we

It should be static though.


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