r220793 - in /trunk/libstdc++-v3: ChangeLog src...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Feb 18 19:39:00 GMT 2015


Author: redi
Date: Wed Feb 18 19:39:03 2015
New Revision: 220793

URL: https://gcc.gnu.org/viewcvs?rev=220793&root=gcc&view=rev
Log:
	* src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
	surrogate pairs.
	(utf16_in): Pass mode argument to write_utf16_code_point.
	(codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
	native byte order.
	* testsuite/22_locale/codecvt/char16_t.cc: New.
	* testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.

Added:
    trunk/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/c++11/codecvt.cc
    trunk/libstdc++-v3/testsuite/22_locale/codecvt/in/wchar_t/1.cc



More information about the Libstdc++-cvs mailing list