Re: [ROOT] method Compare

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 22 2002 - 10:38:02 MEST


Hi Francois-Xavier,

Thanks for reporting this error in the documentation.

Rene Brun

On Thu, 22 Aug 2002, GENTIT Francois-Xavier  DAPNIA wrote:

>   Hello writers of the ROOT user guide,
>   The example given on page 303 of the manual for the method "Compare" and
> "IsEqual" correspond to a very old version of ROOT and do not work, because
> the "const" are missing. This results in a difficult to find bug, the
> compiler accepts this version without "const", but they are never called and
> "Sort" on the collection does nothing. It took me some time to find why.
> Thanks for correcting it.
> 
> François-Xavier Gentit
> DAPNIA/SPP CEA Saclay
> http://gentit.home.cern.ch/gentit/
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET