This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
num_get<>::_M_extract
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: num_get<>::_M_extract
- From: Ryszard Kabatek <rysio@rumcajs.chemie.uni-halle.de>
- Date: Wed, 5 May 1999 17:45:02 +0200 (CEST)
- cc: libstdc++@sourceware.cygnus.com
- Reply-To: kabatek@chemie.uni-halle.de
1. At the line 258 of bits/locfacets.tcc you wrote:
// XXX Need to deal with discarding leading zeros for non-octal numbers!
The strto* functions do it.
I am not sure if it is a (C) standard behaviour, but I assume it is.
2. The function num_get<>::_M_extract does nothing know about the
length of the __xtrc buffer. Perhaps is would be saver to fix it?
Ryszard Kabatek
Martin-Luther University Halle-Wittenberg, Department of Physical Chemistry
Geusaer Str. 88, 06217 Merseburg, Germany
Tel. +49 3461 46 2487 Fax. +49 3461 46 2129