Re: [ROOT] problem with overloaded methods in ACLIC

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Tue Jul 23 2002 - 19:11:42 MEST


Hi,
I think that what you see originates in the following problem.
If you overloaded a method with a particular "name" and particular
"signature" (I mean set of parameters), you have to write the code for ALL
possible "signatures" of this method (if I remember well, this is written 
in the C++ standard - maybe Philippe could comment more on this).
In your example that means that you overload "CreateGeometry(some set of
parameters)", but you did not overload "CreateGeometry (NaElem *)" and
"CreateGeometry ()". And that is why you get the warning from the
compiler.
Best regards,
Jacek.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET