MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / to_upper_inplace

Function to_upper_inplace

src/common/string_utils.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void to_upper_inplace(std::wstring &s) { std::transform(s.begin(), s.end(), s.begin(), &towupper); }
26
27void ltrim_inplace(std::wstring &s) {
28 s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](wchar_t ch) {

Callers 2

StringTests.cppFile · 0.85
apply_aliasFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected