MCPcopy Create free account
hub / github.com/comaps/comaps / MakeUniString

Function MakeUniString

libs/base/string_utils.cpp:324–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324UniString MakeUniString(std::string_view utf8s)
325{
326 UniString result;
327 utf8::unchecked::utf8to32(utf8s.begin(), utf8s.end(), std::back_inserter(result));
328 return result;
329}
330
331std::string ToUtf8(UniString const & s)
332{

Callers 15

GetHNRangeMethod · 0.85
MatchMethod · 0.85
CalcRankFunction · 0.85
FormatRangeMethod · 0.85
BuildAddressTableFunction · 0.85
MakeUniStringVectorFunction · 0.85
UNIT_TESTFunction · 0.85
AddSynonymMethod · 0.85
StringsMatcherMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 15

MakeUniStringVectorFunction · 0.68
UNIT_TESTFunction · 0.68
InitMethod · 0.68
UNIT_CLASS_TESTFunction · 0.68
TestDataMethod · 0.68
TestEqualFunction · 0.68
UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
HouseNumbersMatchFunction · 0.68
HouseNumbersMatchRangeFunction · 0.68