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

Function Predicate

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

Source from the content-addressed store, hash-verified

2436 // requires a lot of TMP.
2437 template<typename T>
2438 Generic::PredicateMatcher<T> Predicate(std::function<bool(T const&)> const& predicate, std::string const& description = "") {
2439 return Generic::PredicateMatcher<T>(predicate, description);
2440 }
2441
2442} // namespace Matchers
2443} // namespace Catch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected