MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / toLowerInPlace

Function toLowerInPlace

Bcore/src/main/cpp/Dobby/tests/catch.hpp:9517–9519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9515 return static_cast<char>(std::tolower(c));
9516}
9517void toLowerInPlace(std::string &s) {
9518 std::transform(s.begin(), s.end(), s.begin(), toLowerCh);
9519}
9520std::string toLower(std::string const &s) {
9521 std::string lc = s;
9522 toLowerInPlace(lc);

Callers 1

toLowerFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected