Hello Andre, Concerned about commented outt map containers, There shouldn't be any problem supporting map<long,...> and map<double,...> in Cint. The reason why I comment them out is side of dictionary. With some compilers, G__cpp_map.cxx gets too big and exceeds limit of the compiler. So, if you have them in separate DLL, those should work. Thank you Masaharu Goto >Date: Thu, 01 Mar 2001 17:35:34 +0100 >From: Andre Holzner <Andre.Holzner@cern.ch> >To: Root mailing list <roottalk@pcroot.cern.ch>, > Masaharu Goto <MXJ02154@niftyserve.or.jp> >Subject: map<long,*> ? > >Hello, > >some months ago, I wrote a mail to this mailing list >(see below) asking whether there is any reason why in >$ROOTSYS/cint/lib/dll_stl/mp.h > >the #pragma link C++ class map<long,...> and map<double,*> > >are commented out. > >This seems to be commented out still and I'd like to be able >to use these maps. > >So: Is there any reason to leave this commented out in the >root distribution ? > > >thanks, > > >Andr$B""(B> >On Mon Dec 04 2000, Andre Holzner wrote: > >> Hello, >> >> I just checked out the newest version from the anonymous CVS today. >> I wanted to use map<long, double>, but in >> $ROOTSYS/cint/lib/dll_stl/mp.h, I see that >> >> >> #pragma link C++ class map<long,int>; >> #pragma link C++ class map<long,long>; >> #pragma link C++ class map<long,double>; >> #pragma link C++ class map<long,void*>; >> #pragma link C++ class map<long,char*>; >> >> #pragma link C++ class map<double,int>; >> #pragma link C++ class map<double,long>; >> #pragma link C++ class map<double,double>; >> #pragma link C++ class map<double,void*>; >> #pragma link C++ class map<double,char*>; >> >> were commented out. Is there any reason for that ? >> >> It seems to work fine (at least on Linux/egcs) having >> these compiled in (although map<double,...> is probably >> going to have unwanted results in some cases >> if the standard < operator is used). >> >> best regards, >> >> >> Andre > > >-- >------------------+---------------------------------- >Andre Holzner | +41 22 76 76750 >Bureau 32 2-C13 | Building 32 >CERN | Office 2-C13 >CH-1211 Geneve 23 | http://wwweth.cern.ch/~holzner/
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET