mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-23 03:52:24 +00:00
599c53c5d01d7003ae64d0c74657cbc4c097be77
The mbtowc(), wctomb() and mblen() functions are not supposed to be thread-safe, as they have to keep parsing state in a global variable. The mbrtowc(), wcrtomb() and mbrlen() functions should be used instead. This change also simplifies how wchar_from_mb<Base>::drain() works. There is no need to first iterate over the input using mblen(). mbrtowc() can store the partially parsed multibyte character in its mbstate_t.
Description
Mirrored via gitea-mirror
Languages
C++
98.7%
CMake
1.1%
Shell
0.2%