[ROOT] CINT and string::size()

From: Colin Bernet (bernet@kph.uni-mainz.de)
Date: Tue May 15 2001 - 12:31:46 MEST


Hi,

I don't know if this has been already reported, but basic_string::size()
cannot be used in interpreted mode:

#include <string>

void Test() {

  string h="size = ";
  cout<<h.c_str()<<h.size()<<endl;
}

This works when loaded as a shared library, but not as a macro (I use
CINT 5.14.83).
cheers,

Colin

--
Colin Bernet
Tel. +49-6131/39-23192
Fax  +49-6131/39-22964



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:45 MET