| 14 | } |
| 15 | |
| 16 | U32String to_u32string(const UStringView str) |
| 17 | { |
| 18 | // FIXME: Boost api doesn't work with string views yet? |
| 19 | auto string_copy = UString(str); |
| 20 | return boost::locale::conv::utf_to_utf<char32_t>(string_copy); |
| 21 | } |
| 22 | |
| 23 | UString to_ustring(const std::u32string_view str) |
| 24 | { |
no outgoing calls