Function match

Synopsis

#include <include/internal/catch_matchers_vector.h>

bool match(std::vector< T, Alloc > const &v) const override

Description

No description yet.

Source

Lines 25-32 in include/internal/catch_matchers_vector.h.

bool match(std::vector<T, Alloc> const &v) const override {
    for (auto const& el : v) {
        if (el == m_comparator) {
            return true;
        }
    }
    return false;
}





Add Discussion as Guest

Log in