Hi Rene, > This will work, but I would not recommend this approach. > Note that if you insert histPtr in a ROOT collection TList, TObjArray, etc > if you call list->Delete(), the collection classes check if the object is > on heap or not. If it is not in the heap, the object is simply removed from the > list and it is not deleted. Something I never understood... When is a object 'on the heap'? Thanks, Thomas.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET