MCPcopy Create free account
hub / github.com/cirquit/trdrop / CasedString

Method CasedString

ext/catch.hpp:9052–9055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9050 namespace StdString {
9051
9052 CasedString::CasedString( std::string const& str, CaseSensitive::Choice caseSensitivity )
9053 : m_caseSensitivity( caseSensitivity ),
9054 m_str( adjustString( str ) )
9055 {}
9056 std::string CasedString::adjustString( std::string const& str ) const {
9057 return m_caseSensitivity == CaseSensitive::No
9058 ? toLower( str )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected