MCPcopy Create free account
hub / github.com/SOCI/soci / PredicateMatcher

Method PredicateMatcher

tests/catch.hpp:3500–3503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3498public:
3499
3500 PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr)
3501 :m_predicate(std::move(elem)),
3502 m_description(Detail::finalizeDescription(descr))
3503 {}
3504
3505 bool match( T const& item ) const override {
3506 return m_predicate(item);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected