Please send an example one can try. Valeri ----- Original Message ----- From: "Jahred Adelman" <Jahred_Adelman@brown.edu> To: <roottalk@pcroot.cern.ch> Sent: Tuesday, July 24, 2001 4:34 PM Subject: [ROOT] Multiple function definitions > Hello - I admit to being a not-so-proficient programmer attempting to use ROOT. > I have 3 definitions for a function, say: > void test() > void test(Text_t* text) > void test(Text_t* text, int a, int b) > > Shouldn't ROOT/C++ be smart enough to use the third instance when I call > test("text",1,2)? It doesn't seem to be. Is there a way to force this? > > Thanks, > Jahred > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET