types T... in root

From: Marc Escalier <escalier_at_lal.in2p3.fr>
Date: Thu, 22 Jul 2010 21:49:51 +0200


Dear rooters,

when one create a file with root, one can write some object (histograms, etc...) inside using
myobject->Write()

i am wondering if it exists a type T... which has the method Write implemented for a an integer or a float, etc...

the goal would be to do :

TheTypeThatISearchFor myvariable;

myvariable->Write();

if it exists, what is this type ?

thank you very much Received on Thu Jul 22 2010 - 21:49:57 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 22 2010 - 23:50:01 CEST