MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / CasedString

Method CasedString

tests/catch.hpp:9240–9243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9238 namespace StdString {
9239
9240 CasedString::CasedString( std::string const& str, CaseSensitive::Choice caseSensitivity )
9241 : m_caseSensitivity( caseSensitivity ),
9242 m_str( adjustString( str ) )
9243 {}
9244 std::string CasedString::adjustString( std::string const& str ) const {
9245 return m_caseSensitivity == CaseSensitive::No
9246 ? toLower( str )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected