On 7 Dec 1999, Stephan Heising wrote:
[...]
> I experienced similar behaviour: CINT seems to ignore code with
> incorrect pointers.
> My example was:
> >> TFile file ("fname","READ");
> >> file->Close ()
> and no error genereated by CINT; only th file wasn't closed for
> obvious reasons.
[...]
Isn't this another case of `it's not a bug, it's a feature'? ;-)
ROOT does not make any difference between an object and a pointer to an
object. Object.Function and Object->Function are equivalent.
( from http://root.cern.ch/root/html/examples/commandline.html )
I had already some trouble with this feature (e.g. with overloaded
functions) and I seem to remember, that there was once the idea, to allow
switching it off. Has anything happened in this direction?
Best regards
Christoph
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET