MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / LazyExpression

Class LazyExpression

extlibs/catch/include/catch/catch.hpp:2484–2499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2482 class RunContext;
2483
2484 class LazyExpression {
2485 friend class AssertionHandler;
2486 friend struct AssertionStats;
2487 friend class RunContext;
2488
2489 ITransientExpression const* m_transientExpression = nullptr;
2490 bool m_isNegated;
2491 public:
2492 LazyExpression( bool isNegated );
2493 LazyExpression( LazyExpression const& other );
2494 LazyExpression& operator = ( LazyExpression const& ) = delete;
2495
2496 explicit operator bool() const;
2497
2498 friend auto operator << ( std::ostream& os, LazyExpression const& lazyExpr ) -> std::ostream&;
2499 };
2500
2501 struct AssertionReaction {
2502 bool shouldDebugBreak = false;

Callers 5

reportExprMethod · 0.85
handleMessageMethod · 0.85
handleIncompleteMethod · 0.85
handleNonExprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected