locale_conv.h (__do_str_codecvt): Handle empty range.
authorJonathan Wakely <jwakely@redhat.com>
Mon, 22 Jun 2015 15:09:22 +0000 (16:09 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 22 Jun 2015 15:09:22 +0000 (16:09 +0100)
commit9eb659e0031658e61110e433f37b22188a1a6bcc
tree4c733b0c0e0eedd1fbcf50e1a05b7775d73f855a
parent4db6c2f585053daef2fc24a72518030a85d05e1e
locale_conv.h (__do_str_codecvt): Handle empty range.

* include/bits/locale_conv.h (__do_str_codecvt): Handle empty range.
(wstring_convert): Move into __cxx11 namespace.
(wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception
message.

From-SVN: r224737
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h