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

Method ToUpper

KBotExt/Utils.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36std::string Utils::ToUpper(std::string str)
37{
38 std::ranges::transform(str, str.begin(),
39 [](const unsigned char c) { return static_cast<char>(std::toupper(c)); });
40 return str;
41}
42
43std::wstring Utils::ToUpper(std::wstring wstr)
44{

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected