Re: [ROOT] [ROOT 3.03/08] problems with foreign template classes which have several parameters

From: Brett Viren (bv@bnl.gov)
Date: Wed Sep 04 2002 - 16:48:56 MEST


David Chamont writes:
 >   Dict.cc:229: macro `R__GenerateInitInstance' used with too many (2) args
 >   Dict.cc:229: parse error before `)
 > 
 > The line 229 is something like :
 > 
 >   R__GenerateInitInstance(const Class1<Arg1,Arg2>) ;
 > 
 > At first sight, the macro simply interpret the comma for itself,
 > and surely this line should not have been generated like this.
 > 
 > Someone else has observed this ?

Yes, we had this problem as well.

 > Am i doing something wrong ?
 > Any trick to avoid the problem ?

A substandard solution: we changed to a non-templated class.

-Brett.



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