MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ToLower

Method ToLower

KBotExt/Utils.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23std::string Utils::ToLower(std::string str)
24{
25 std::ranges::transform(str, str.begin(),
26 [](const unsigned char c) { return static_cast<char>(std::tolower(c)); });
27 return str;
28}
29
30std::wstring Utils::ToLower(std::wstring wstr)
31{

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected