Function reconstructExpression

Synopsis

#include <include/internal/catch_assertionresult.h>

std::string reconstructExpression() const

Description

No description yet.

Source

Lines 16-26 in include/internal/catch_assertionresult.cpp. Line 31 in include/internal/catch_assertionresult.h.

std::string AssertionResultData::reconstructExpression() const {
    if( reconstructedExpression.empty() ) {
        if( lazyExpression ) {
            ReusableStringStream rss;
            rss << lazyExpression;
            reconstructedExpression = rss.str();
        }
    }
    return reconstructedExpression;
}





Add Discussion as Guest

Log in