2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-21 05:22:12 +00:00

3 Commits

Author SHA1 Message Date
Mikalai Ananenka
b66e502058 Update Unicode scripts; fix mapping for Unicode general category 'Unassigned' and script 'Unknown' 2022-12-05 03:52:43 -05:00
Nikita Kniazev
9ee9a1ece3 Remove redundant assert
> For all functions described in this subclause that accept an argument of type wint_t, the value shall
> be representable as a wchar_t or shall equal the value of the macro WEOF. If this argument has any
> other value, the behavior is undefined.

There is no way to produce a `wint_t` value non-representable as `wchar_t` with `std::char_traits<wchar_t>::to_int_type`.
2020-07-18 16:08:25 +03:00
Nikita Kniazev
49f7452cc1 Fix standard_wide::toucs4
* Make the argument type `wchar_t`
* Fix issue when `sizeof(wchar_t) < sizeof(boost::uint32_t)` and `wchar_t` is
  a signed type.
* Remove wrong/pointless assertion (there is no calls to `std::w*`)
2020-07-18 16:08:25 +03:00