[ROOT] CINT: templated method skipped building dictionary

From: Axel Naumann (a.naumann@worldnet.att.net)
Date: Fri Jul 06 2001 - 17:36:18 MEST


Hi,

how can I convince CINT to add a method like

	template <class T>
		seed::TEventSample& AssignSeedData(seed::TSeedData<T>& sd, const TString&
strSeed);

to the list of methods of my class? Why is it skipping it without warning?
The dictionary for this class is still build, everything works fine, CINT
just simply skipps this method. (yesterday's cvs root.)

Okay, in principle I know the answer: Because CINT needs specializations for
the templates. But again, why doesn't CINT issue a warning here? And how can
I work around that problem? Should I define a non-templated base class of
the seed::TSeedData and hand a base class pointer to AssignSeedData? Or does
handing over a pointer to the templated class help (e.g. due to some
automatic casting to void* by the dictionary)?

Last resort: Is there a way to tell CINT to build the dictionary for a
method without adding the wrapper for this method?

Regards, Axel.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:51 MET