Hi Peter, Thanks for reporting these inconsistencies. I will fix them in the coming release. Rene Brun On Wed, 7 Jul 2004, Peter Elmer wrote: > Hi, > > A small detail: > > It looks like TVector3::Print() was recently given a real implementation, > overriding the TObject base class implementation, but in the process the > signature was changed from the base class in that the default argument was > dropped. For consistency with other TObject derived objects could the default > argument be added back? > > (I assume that it is some C++ misfeature or compiler difficulty that such > a thing isn't an error. It does result in some strange behaviour in that > a.Print() fails to compile when is a TVector3, but the same object used > through a pointer to the base class will compile and seems to get the default > arg, but uses the overridden implementation.) > > thanks, > Pete > > ------------------------------------------------------------------------- > Peter Elmer E-mail: Peter.Elmer@cern.ch Phone: +41 (22) 767-4644 > Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland > ------------------------------------------------------------------------- >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET