MCPcopy Create free account
hub / github.com/catchorg/Catch2 / CasedString

Method CasedString

extras/catch_amalgamated.cpp:8966–8969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8964namespace Matchers {
8965
8966 CasedString::CasedString( std::string const& str, CaseSensitive caseSensitivity )
8967 : m_caseSensitivity( caseSensitivity ),
8968 m_str( adjustString( str ) )
8969 {}
8970 std::string CasedString::adjustString( std::string const& str ) const {
8971 return m_caseSensitivity == CaseSensitive::No
8972 ? toLower( str )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected