Hi Everyone,
I was happily adding an integer to a TString so far in ROOT. Following is a very simple example of what I used to do.
Int_t i=1; hname1 = hname+i;
===========================================
Lately I upgraded ROOT to ROOT 5.21/07 (trunk_at_26568, Dec 01 2008,
17:44:51 on macosx64)
and I can't seem to be able to use this operator anymore.
Instead I get the following error message....
So now instead of doing the above operation, if I do the following, it works fine.
hname1 = hname;
hname1 += i;
However, I don't want to do this way. I still want to be able to use a simple operation of TString+int.
Is there still a way to do it?
Regards
Monika
Received on Fri Dec 05 2008 - 18:18:27 CET
This archive was generated by hypermail 2.2.0 : Fri Dec 05 2008 - 23:50:02 CET