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

Function to_lower_inplace

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

Source from the content-addressed store, hash-verified

19#include <cctype>
20
21void to_lower_inplace(std::wstring &s) {
22 std::transform(s.begin(), s.end(), s.begin(), &towlower);
23}
24
25void to_upper_inplace(std::wstring &s) { std::transform(s.begin(), s.end(), s.begin(), &towupper); }
26

Callers 3

is_ftp_urlFunction · 0.85
is_github_urlFunction · 0.85
process_replace_allMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected