[ROOT] Multiple function definitions

From: Jahred Adelman (Jahred_Adelman@brown.edu)
Date: Tue Jul 24 2001 - 22:34:13 MEST


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