Function streamReconstructedExpression

Synopsis

#include <include/internal/catch_capture_matchers.h>

void streamReconstructedExpression(std::ostream &os) const override

Description

No description yet.

Source

Lines 35-42 in include/internal/catch_capture_matchers.h.

void streamReconstructedExpression( std::ostream &os ) const override {
    auto matcherAsString = m_matcher.toString();
    os << Catch::Detail::stringify( m_arg ) << ' ';
    if( matcherAsString == Detail::unprintableString )
        os << m_matcherString;
    else
        os << matcherAsString;
}





Add Discussion as Guest

Log in