Function operator||

Synopsis

#include <include/internal/catch_matchers.h>

MatchAnyOf< ArgT > operator||(MatcherBase< ArgT > const &other)

Description

No description yet.

Source

Lines 128-132 in include/internal/catch_matchers.h.

MatchAnyOf<ArgT> operator || ( MatcherBase<ArgT> const& other ) {
    auto copy(*this);
    copy.m_matchers.push_back( &other );
    return copy;
}





Add Discussion as Guest

Log in