gcc/libstdc++-v3/include
Paolo Carlini d04e9b7fef re PR libstdc++/22131 (std::num_get fails for input with invalid groups)
2005-06-29  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/22131
	* include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
	num_get<>::_M_extract_float, money_get<>::_M_extract):
	Adjust to assign the result also when digit grouping is
	wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
	(NB: consistently for money_get too).
	* config/locale/generic/c_locale.cc (__convert_from_v): Do
	not check ios_base::failbit at the outset.
	* config/locale/gnu/c_locale.cc: Likewise.
	* testsuite/22_locale/money_get/get/char/22131.cc: New.
	* testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
	* testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
	* testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
	* testsuite/22_locale/num_get/get/char/12.cc: Adjust.
	* testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
	Likewise.

From-SVN: r101416
2005-06-29 11:48:53 +00:00
..
backward cpp_type_traits.h: Add types to the structs thus making type_traits.h redundant... 2005-01-31 16:22:01 +00:00
bits re PR libstdc++/22131 (std::num_get fails for input with invalid groups) 2005-06-29 11:48:53 +00:00
c std_cctype.h, [...]: Remove trailing whitespace. 2003-12-09 04:41:52 +01:00
c_compatibility iso646.h, [...]: Remove trailing whitespace. 2003-12-09 04:51:46 +01:00
c_std re PR libstdc++/13943 (call of overloaded `llabs(int)' is ambiguous) 2005-05-26 15:46:48 +00:00
debug PR libstdc++/21770 (cont: __gnu_debug::string) 2005-06-07 02:55:06 +00:00
ext documentation.html: Add link for policy based associative containers docs. 2005-06-27 15:33:38 +00:00
std re PR libstdc++/21955 (std::stringbuf vs. in_avail) 2005-06-08 17:29:44 +00:00
tr1 hashtable: Trivial formatting fixes. 2005-06-15 17:48:00 +00:00
Makefile.am documentation.html: Add link for policy based associative containers docs. 2005-06-27 15:33:38 +00:00
Makefile.in Makefile.in: Set and use UNWIND_H. 2005-06-28 19:52:27 +00:00
stdc++.h stdc++.h: New. 2003-03-14 22:16:06 +00:00