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

Method match

extlibs/catch/include/catch/catch.hpp:3269–3275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3267 struct MatchAnyOf : MatcherBase<ArgT> {
3268
3269 bool match( ArgT const& arg ) const override {
3270 for( auto matcher : m_matchers ) {
3271 if (matcher->match(arg))
3272 return true;
3273 }
3274 return false;
3275 }
3276 std::string describe() const override {
3277 std::string description;
3278 description.reserve( 4 + m_matchers.size()*32 );

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected