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

Method match

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

Source from the content-addressed store, hash-verified

2155template <typename ArgT> struct MatchAnyOf : MatcherBase<ArgT> {
2156
2157 bool match(ArgT const &arg) const override {
2158 for (auto matcher : m_matchers) {
2159 if (matcher->match(arg))
2160 return true;
2161 }
2162 return false;
2163 }
2164 std::string describe() const override {
2165 std::string description;
2166 description.reserve(4 + m_matchers.size() * 32);

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected