MCPcopy Create free account
hub / github.com/Profactor/cv-plot / PredicateMatcher

Method PredicateMatcher

CvPlot/ext/catch2/inc/catch.hpp:3452–3455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3450public:
3451
3452 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr)
3453 :m_predicate(std::move(elem)),
3454 m_description(Detail::finalizeDescription(descr))
3455 {}
3456
3457 bool match( T const& item ) const override {
3458 return m_predicate(item);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected