[PATCH] PR libstdc++/5331 returned iterator from num_get<>::get

Benjamin Kosnik bkoz@redhat.com
Thu Jan 10 21:18:00 GMT 2002


> Fix: num_get<>::_M_extract_float and num_get<>::_M_extract_int do the
> work, just don't return the advanced iterator, the following patch makes
> them return it.

Great! This is in now, thanks.

There are no systematic tests for iterator return values in 22_locale. 
I suppose there should be tests for:

ctype
num_get (float, int, bool)
num_put
time_get
time_put
money_get (string, ld)
money_put

I'll start adding tests for these facets too, starting from the end.

-benjamin



More information about the Libstdc++ mailing list