MCPcopy Create free account
hub / github.com/dobin/RedEdr / to_lowercase

Function to_lowercase

RedEdrShared/utils.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77
78std::wstring to_lowercase(const std::wstring& str) {
79 std::wstring lower_str = str;
80 std::transform(lower_str.begin(), lower_str.end(), lower_str.begin(), ::towlower);
81 return lower_str;
82}
83
84std::string to_lowercase2(const std::string& str) {
85 std::string lower_str = str;

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected