MCPcopy Create free account
hub / github.com/chen3feng/toft / StringToUpper

Function StringToUpper

base/string/algorithm.h:265–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 bool fill_blank = false);
264
265inline void StringToUpper(std::string* s)
266{
267 std::string::iterator end = s->end();
268 for (std::string::iterator i = s->begin(); i != end; ++i)
269 *i = toupper(static_cast<unsigned char>(*i));
270}
271
272inline void StringToLower(std::string* s)
273{

Callers 2

UpperStringFunction · 0.85
TESTFunction · 0.85

Calls 2

endMethod · 0.45
beginMethod · 0.45

Tested by 1

TESTFunction · 0.68