> -----Original Message----- > From: owner-roottalk@pcroot.cern.ch > [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Jacek M. Holeczek > Sent: Thursday, May 10, 2001 5:07 PM > To: roottalk > Subject: [ROOT] root(cint) and template > > > Hi, > What's wrong in : > class Complex<float> > { > public: > (...) > Complex& operator+= (const Complex& r) { return __gsl_doapl > (this, r); } > (...) > } > that I keep getting : > Syntax Error: Complex&operator+=(constComplex&r) FILE:FComplex.hxx LINE:44 Thanks in advance, Jacek. Hi Jacek, it should be Complex<float>& operator+= (const Complex<float>& r) { return __gsl_doapl(this, r); } Hope this helps Rado
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:44 MET