Hello Fons and Colin,
Thank you for reporting this. string::size() was missing, indeed.
I'll add it in cint5.14.88.
Thank you
Masahaharu Goto
>Date: Tue, 15 May 2001 11:12:28 +0000
>From: Fons Rademakers <Fons.Rademakers@cern.ch>
>To: Masaharu Goto <MXJ02154@niftyserve.or.jp>
>Cc: Rene Brun <Rene.Brun@cern.ch>
>Subject: [Fwd: [ROOT] CINT and string::size()]
>
>Hi Masa,
>
> can you check.
>
>Cheers, Fons.
>
>--
>Org: CERN, European Laboratory for Particle Physics.
>Mail: 1211 Geneve 23, Switzerland
>E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
>WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
>-----------------------------------------------------------------------------
-
--
>Date: Tue, 15 May 2001 12:31:46 +0200
>From: Colin Bernet <bernet@kph.uni-mainz.de>
>To: roottalk <roottalk@pcroot.cern.ch>
>Subject: [ROOT] CINT and string::size()
>
>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