MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / StrToUpper

Function StrToUpper

src/commons/util/util.h:443–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443inline std::string StrToUpper(const std::string &str) {
444 std::string ret = str;
445 std::for_each(ret.begin(), ret.end(), [](char & c) {
446 c = ::toupper(c);
447 });
448 return ret;
449}
450
451template <size_t N>
452void splitString(string (&arr)[N], string str)

Callers 4

GetLogCategoryFunction · 0.85
GetStakeActionFunction · 0.85
EnumHelperMethod · 0.85
ParseMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected