MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / toLowerCh

Function toLowerCh

unittests/catch.hpp:9588–9590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9586 return s.find( infix ) != std::string::npos;
9587 }
9588 char toLowerCh(char c) {
9589 return static_cast<char>( std::tolower( c ) );
9590 }
9591 void toLowerInPlace( std::string& s ) {
9592 std::transform( s.begin(), s.end(), s.begin(), toLowerCh );
9593 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected