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

Method CasedString

unittests/catch.hpp:8035–8038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8033 namespace StdString {
8034
8035 CasedString::CasedString( std::string const& str, CaseSensitive::Choice caseSensitivity )
8036 : m_caseSensitivity( caseSensitivity ),
8037 m_str( adjustString( str ) )
8038 {}
8039 std::string CasedString::adjustString( std::string const& str ) const {
8040 return m_caseSensitivity == CaseSensitive::No
8041 ? toLower( str )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected