gcc/libstdc++-v3/include/std
Jonathan Wakely b6584a72ac re PR libstdc++/64797 (22_locale/conversions/string/2.cc FAILs)
PR libstdc++/64797
	* include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
	incomplete multibyte sequences correctly.
	* include/std/codecvt (codecvt_utf8, codecvt_utf16,
	codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
	* src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
	Define constants.
	(is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
	Define convenience functions.
	(read_utf8_code_point): Return relevant constant to distinguish
	incomplete characters from invalid sequences.
	(read_utf16_code_point): Likewise. Check for invalid sequences.
	(ucs4_in, utf16_in): Use incomplete_mb_character constant.
	(utf16_out): Check for invalid sequences.
	(utf16_span): Fix condition.
	(ucs2_out): Use is_high_surrogate.
	(ucs2_in): Use incomplete_mb_character constant and fix condition.
	* testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
	* testsuite/22_locale/conversions/buffer/1.cc: New.
	* testsuite/22_locale/conversions/string/2.cc: Use char16_t and
	char32_t instead of wchar_t.
	* testsuite/22_locale/conversions/string/3.cc: New.

From-SVN: r221189
2015-03-04 17:19:55 +00:00
..
algorithm Update copyright years. 2015-01-05 13:33:28 +01:00
array Update copyright years. 2015-01-05 13:33:28 +01:00
atomic re PR libstdc++/64658 (std::atomic_init() undefined) 2015-01-20 11:50:43 +00:00
bitset Update copyright years. 2015-01-05 13:33:28 +01:00
chrono Update copyright years. 2015-01-05 13:33:28 +01:00
codecvt re PR libstdc++/64797 (22_locale/conversions/string/2.cc FAILs) 2015-03-04 17:19:55 +00:00
complex Update copyright years. 2015-01-05 13:33:28 +01:00
condition_variable Update copyright years. 2015-01-05 13:33:28 +01:00
deque Update copyright years. 2015-01-05 13:33:28 +01:00
forward_list Update copyright years. 2015-01-05 13:33:28 +01:00
fstream Update copyright years. 2015-01-05 13:33:28 +01:00
functional Update copyright years. 2015-01-05 13:33:28 +01:00
future libstdc++: Optimize synchronization in std::future if futexes are available. 2015-01-16 19:50:43 +00:00
iomanip Update copyright years. 2015-01-05 13:33:28 +01:00
ios Update copyright years. 2015-01-05 13:33:28 +01:00
iosfwd Update copyright years. 2015-01-05 13:33:28 +01:00
iostream Update copyright years. 2015-01-05 13:33:28 +01:00
istream Update copyright years. 2015-01-05 13:33:28 +01:00
iterator Update copyright years. 2015-01-05 13:33:28 +01:00
limits Update copyright years. 2015-01-05 13:33:28 +01:00
list Update copyright years. 2015-01-05 13:33:28 +01:00
locale locale_conv.h (wstring_convert, [...]): New. 2015-01-16 23:38:48 +00:00
map Update copyright years. 2015-01-05 13:33:28 +01:00
memory Update copyright years. 2015-01-05 13:33:28 +01:00
mutex Update copyright years. 2015-01-05 13:33:28 +01:00
numeric Update copyright years. 2015-01-05 13:33:28 +01:00
ostream Update copyright years. 2015-01-05 13:33:28 +01:00
queue Update copyright years. 2015-01-05 13:33:28 +01:00
random Update copyright years. 2015-01-05 13:33:28 +01:00
ratio Update copyright years. 2015-01-05 13:33:28 +01:00
regex re PR libstdc++/64584 (basic_regex::assign breaks *this if it throws regex_error) 2015-01-19 22:56:04 +00:00
scoped_allocator re PR libstdc++/65279 (std::scoped_allocator_adaptor is not assignable) 2015-03-02 17:50:55 +00:00
set Update copyright years. 2015-01-05 13:33:28 +01:00
shared_mutex atomic_base.h: Use __always_inline__ instead of always_inline. 2015-01-29 12:47:20 +00:00
sstream Update copyright years. 2015-01-05 13:33:28 +01:00
stack Update copyright years. 2015-01-05 13:33:28 +01:00
stdexcept re PR libstdc++/64367 (g++-v5/stdexcept:52:28: error: invalid use of non-static data member '_M_p') 2015-03-02 16:50:24 +00:00
streambuf Update copyright years. 2015-01-05 13:33:28 +01:00
string Update copyright years. 2015-01-05 13:33:28 +01:00
system_error Update copyright years. 2015-01-05 13:33:28 +01:00
thread Update copyright years. 2015-01-05 13:33:28 +01:00
tuple re PR libstdc++/56785 (std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements) 2015-01-17 00:21:41 +00:00
type_traits re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
typeindex Update copyright years. 2015-01-05 13:33:28 +01:00
unordered_map Update copyright years. 2015-01-05 13:33:28 +01:00
unordered_set Update copyright years. 2015-01-05 13:33:28 +01:00
utility Update copyright years. 2015-01-05 13:33:28 +01:00
valarray Update copyright years. 2015-01-05 13:33:28 +01:00
vector Update copyright years. 2015-01-05 13:33:28 +01:00