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

Method StartsWithMatcher

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

Source from the content-addressed store, hash-verified

8077 }
8078
8079 StartsWithMatcher::StartsWithMatcher( CasedString const& comparator ) : StringMatcherBase( "starts with", comparator ) {}
8080
8081 bool StartsWithMatcher::match( std::string const& source ) const {
8082 return startsWith( m_comparator.adjustString( source ), m_comparator.m_str );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected