NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/54411: std::locale broken



On Sat, Jul 27, 2019 at 07:05:00AM +0000, Thomas Klausner wrote:
>     char thou_sep = std::use_facet<std::numpunct<wchar_t> >(loc).thousands_sep();

That's truncating a wchar_t to char. Not going to work at all for
multibyte locales.

Joerg


Home | Main Index | Thread Index | Old Index