Re: [ROOT] fatal in operator delete

From: Phil Adamson (p.adamson@sussex.ac.uk)
Date: Sat Mar 31 2001 - 00:17:55 MEST


On Fri, 30 Mar 2001, Rene Brun wrote:
> Concerning your other points. It is bad practice to allocate 
> histograms in the stack if they are associated with a file.
> When closing the file, this object will be deleted.

Hi Rene,
	Is it documented anywhere (cohesively, rather than in various
scattered places) under what circumstances ownership of objects is claimed
by ROOT and under which circmstances the creator is left with
juristdiction over the object? This is not at all clear from any of the
documentation.

	Phil	

PS. I have a test case of highly counter-intuitive behaviour with TGraph
objects - I'll tets it next week with root 3.00, and post if it's still
confusing.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET