Function PredicateMatcher

Synopsis

#include <include/internal/catch_matchers_generic.hpp>

PredicateMatcher(std::function< bool(T const &)> const &elem, std::string const &descr)

Description

No description yet.

Source

Lines 30-33 in include/internal/catch_matchers_generic.hpp.

PredicateMatcher(std::function<bool(T const&)> const& elem, std::string const& descr)
    :m_predicate(std::move(elem)),
    m_description(Detail::finalizeDescription(descr))
{}





Add Discussion as Guest

Log in