This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project. See the libstdc++ home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> 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. Truncation should happen in _M_extract, before the strto* functions are called. If you do this, please add test cases to 27/istrinstream_formatted.cc, and make sure to test for octal and boolean values. -Benjamin