MCPcopy Create free account
hub / github.com/IENT/YUView / toLower

Function toLower

YUViewLib/src/common/Functions.cpp:164–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164std::string toLower(std::string str)
165{
166 std::transform(
167 str.begin(), str.end(), str.begin(), [](unsigned char c) { return std::tolower(c); });
168 return str;
169}
170
171std::optional<unsigned long> toUnsigned(const std::string &text)
172{

Calls

no outgoing calls

Tested by

no test coverage detected