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

Method match

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

Source from the content-addressed store, hash-verified

2320 MatchNotOf( MatcherBase<ArgT> const& underlyingMatcher ) : m_underlyingMatcher( underlyingMatcher ) {}
2321
2322 bool match( ArgT const& arg ) const override {
2323 return !m_underlyingMatcher.match( arg );
2324 }
2325
2326 std::string describe() const override {
2327 return "not " + m_underlyingMatcher.toString();

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected