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é 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 : Fri Jun 08 2001 - 11:51:19 MEST