MCPcopy Create free account
hub / github.com/Universal-Team/Universal-Updater / toLowerCase

Method toLowerCase

source/utils/stringutils.cpp:42–47  ·  view source on GitHub ↗

To lowercase conversion. const std::string &str: The string which should be converted. */

Source from the content-addressed store, hash-verified

40 const std::string &str: The string which should be converted.
41*/
42std::string StringUtils::toLowerCase(const std::string &str) {
43 std::string lower;
44 transform(str.begin(), str.end(), std::back_inserter(lower), tolower); // Transform the string to lowercase.
45
46 return lower;
47}
48
49/*
50 Fetch strings from a vector and return it as a single string.

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected