In ROOT 5.17/08, I do the following:
root  TClass *c = gROOT->GetClass("TUnuranEmpDist")
root  TList *l = c->GetListOfMethods()
root  TMethod *m = (TMethod*)l->At(25)
root  m->GetPrototype()
(const char* 0xd00160)"TUnuranEmpDist TUnuranEmpDist::TUnuranEmpDist(double* begin,double* end,unsigned int dim=1)"
I get back the ctor for TUnuranEmpDist as above. But when I look at the .h header that comes with the 5.17/08 distribution I see the ctor is actually defined differently by CINT:
TUnuranEmpDist (Iterator begin, Iterator end, unsigned int dim = 1) :
I assume the difference is because CINT can’t deal with a template member function (or ctor). Is there any way for me to tell that this ctor is a template member function? I’d like to avoid it when I generate real C++ code based on the CINT meta-data.