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

Function toLowerInPlace

unittests/catch.hpp:9591–9593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }
9594 std::string toLower( std::string const& s ) {
9595 std::string lc = s;
9596 toLowerInPlace( lc );

Callers 1

toLowerFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected