Hi Joe, When these classes were designed several years ago, we were under pressure to not derive these kind of classes from TObject. A posteriori, I agree that this was probably a mistake. There are many more advantages in deriving from TObject (consistent framework behaviour) than disadvantages. We cannot change these classes now. However, you can use alternative classes such as TVectorD that derive from TObject. Rene Brun joe robe wrote: > > hi rooters, > > why arent the array classes derived from tobject ??? > > is there any danger to do > > TArrayD* DataArray=new TArrayD(); > fData->AddLast((TObject*)DataArray); > > ?? > > joe > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET