locale_conv.h (wstring_convert::_M_conv): Handle noconv result.
authorJonathan Wakely <jwakely@redhat.com>
Thu, 5 Mar 2015 13:36:21 +0000 (13:36 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 5 Mar 2015 13:36:21 +0000 (13:36 +0000)
commit9933260f2f921ab10415b5042fc5f04fe1afce95
tree50604d2946731d58d3d58508dcad099b1efe9b27
parentbcda57c130753b36ee3dd495a1404bed4b43d291
locale_conv.h (wstring_convert::_M_conv): Handle noconv result.

* include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
noconv result.
* testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
* testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.

From-SVN: r221212
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/testsuite/22_locale/conversions/string/2.cc
libstdc++-v3/testsuite/22_locale/conversions/string/3.cc