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

Method match

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

Source from the content-addressed store, hash-verified

2123
2124template <typename ArgT> struct MatchAllOf : MatcherBase<ArgT> {
2125 bool match(ArgT const &arg) const override {
2126 for (auto matcher : m_matchers) {
2127 if (!matcher->match(arg))
2128 return false;
2129 }
2130 return true;
2131 }
2132 std::string describe() const override {
2133 std::string description;
2134 description.reserve(4 + m_matchers.size() * 32);

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected