MCPcopy Create free account
hub / github.com/amwatson/CitraVR / ToUpper

Function ToUpper

src/common/string_util.cpp:31–33  ·  view source on GitHub ↗

Make a char uppercase

Source from the content-addressed store, hash-verified

29
30/// Make a char uppercase
31char ToUpper(char c) {
32 return static_cast<char>(std::toupper(static_cast<unsigned char>(c)));
33}
34
35/// Make a string lowercase
36std::string ToLower(std::string str) {

Callers 2

file_util.cppFile · 0.85
SplitFilename83Function · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected