Class LazyExpression

Synopsis

#include <include/internal/catch_assertionhandler.h>

class LazyExpression

Description

No description yet.

Methods

LazyExpression overload
operator bool
operator=

Source

Lines 22-37 in include/internal/catch_assertionhandler.h.

class LazyExpression {
    friend class AssertionHandler;
    friend struct AssertionStats;
    friend class RunContext;
    ITransientExpression const* m_transientExpression = nullptr;
    bool m_isNegated;
public:
    LazyExpression( bool isNegated );
    LazyExpression( LazyExpression const& other );
    LazyExpression& operator = ( LazyExpression const& ) = delete;
    explicit operator bool() const;
    friend auto operator << ( std::ostream& os, LazyExpression const& lazyExpr ) -> std::ostream&;
};





Add Discussion as Guest

Log in