MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / toupper

Function toupper

highs/util/stringutil.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void toupper(std::string& str) {
77 std::transform(str.begin(), str.end(), str.begin(),
78 [](unsigned char c) { return std::toupper(c); });
79}
80
81std::string& ltrim(std::string& str, const std::string& chars) {
82 str.erase(0, str.find_first_not_of(chars));

Callers 2

checkFirstWordMethod · 0.85
parseDefaultMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected