for the time being use TList instead of your List<>.
To integrate your List<> you at least have to include the
ClassDef and ClassImp and have it inherit from TObject
(so it will get the Streamer and List<>::operator<<(TBuffer&)
methods).
Cheers, Fons.
Grave Xavier wrote:
>
> Hi,
>
> Is there any archive place for roottalk ?
> I've lost the last answer for a message about templates
> with rootcint and I get the following error:
>
> cxx -w -g -I/virgoApp/Fr/v2.30/src -I/virgoa1_3/xavier/root/include
> -I../src -c ../src/MyCanvasDict.cxx -o ../obj/MyCanvasDict.o
> cxx: Error: ../src/MyCanvasDict.cxx, line 471: In this statement, the
> argument list "R__b>>ListText" matches no "operator >>".
> R__b >> ListText;
> ------^
> cxx: Error: ../src/MyCanvasDict.cxx, line 475: In this statement, the
> argument list "R__b<<ListText" matches no "operator <<".
> R__b << ListText;
>
> MyCanvasDict.cxx is created by:
> rootcint MyCanvasDict.cxx -c MyCanvas.h
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910