On 08/30/2006 11:02:57 AM,
[hidden email] wrote:
> I think I've found a bug in the TimeSeries class.
> There it is implemented the [] operator in two different ways, I
> think the second one is wrong.
Right. I've fixed it in CVS. Thanks for pointing it out.
> By the way, if I instantiate a TimeSeries object and then I use the
> [] operator, how does the object know which is implementation to
> choose?
It's as Indou said. If the object is const, the const version is
called; otherwise, the non-const version kicks in.
Luigi
----------------------------------------
Humphrey's Requirements Uncertainty Principle:
For a new software system, the requirements will not be
completely known until after the users have used it.