|
From: Luigi B. <lui...@gm...> - 2006-08-30 16:29:33
|
On 08/30/2006 11:02:57 AM, mar...@li... wrote: > I think I've found a bug in the TimeSeries class. > There it is implemented the [] operator in two different ways, I =20 > 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 =20 > [] operator, how does the object know which is implementation to =20 > choose? It's as Indou said. If the object is const, the const version is =20 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. |