This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r220793 - in /trunk/libstdc++-v3: ChangeLog src...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 18 Feb 2015 19:39:03 -0000
- Subject: r220793 - in /trunk/libstdc++-v3: ChangeLog src...
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