MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / InvertCase

Function InvertCase

src/WorkerImplement.cpp:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void InvertCase(std::wstring& buf) {
100 for (auto& c : buf) {
101 if (std::iswupper(c)) {
102 c = std::towlower(c);
103 }
104 else {
105 c = std::towupper(c);
106 }
107 }
108}
109
110TStatus WorkerImplement::GetClipStringCallback() {
111 LOG_ANY(L"GetClipStringCallback");

Callers 1

GetClipStringCallbackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected