MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / to_ustring

Function to_ustring

library/strings.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23UString to_ustring(const std::u32string_view str)
24{
25 auto string_copy = U32String(str);
26 return boost::locale::conv::utf_to_utf<char>(string_copy);
27}
28
29char32_t to_char32(const char c)
30{

Callers 8

removeFunction · 0.85
insert_codepointsFunction · 0.85
getGlyphMethod · 0.85
onRenderMethod · 0.85
getTextMethod · 0.85
copyToMethod · 0.85
test_32_8_roundtripFunction · 0.85
testMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_32_8_roundtripFunction · 0.68
testMethod · 0.68