MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / CasedString

Method CasedString

Bcore/src/main/cpp/Dobby/tests/catch.hpp:7832–7834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7830namespace StdString {
7831
7832CasedString::CasedString(std::string const &str, CaseSensitive::Choice caseSensitivity)
7833 : m_caseSensitivity(caseSensitivity), m_str(adjustString(str)) {
7834}
7835std::string CasedString::adjustString(std::string const &str) const {
7836 return m_caseSensitivity == CaseSensitive::No ? toLower(str) : str;
7837}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected