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

Function MakeLowerCaseInplace

libs/base/string_utils.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void MakeLowerCaseInplace(std::string & s)
125{
126 UniString uniStr;
127 utf8::unchecked::utf8to32(s.begin(), s.end(), std::back_inserter(uniStr));
128 MakeLowerCaseInplace(uniStr);
129 s.clear();
130 utf8::unchecked::utf32to8(uniStr.begin(), uniStr.end(), back_inserter(s));
131}
132
133std::string MakeLowerCase(std::string s)
134{

Callers 1

MakeLowerCaseFunction · 0.70

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected