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

Method ContainsElementMatcher

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

Source from the content-addressed store, hash-verified

2546 struct ContainsElementMatcher : MatcherBase<std::vector<T>> {
2547
2548 ContainsElementMatcher(T const &comparator) : m_comparator( comparator) {}
2549
2550 bool match(std::vector<T> const &v) const override {
2551 for (auto const& el : v) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected