#include <catch_assertionhandler.h>
Definition at line 2151 of file catch.hpp.
◆ LazyExpression() [1/4]
Catch::LazyExpression::LazyExpression |
( |
bool | isNegated | ) |
|
◆ LazyExpression() [2/4]
◆ LazyExpression() [3/4]
Catch::LazyExpression::LazyExpression |
( |
bool | isNegated | ) |
|
◆ LazyExpression() [4/4]
◆ operator bool() [1/2]
Catch::LazyExpression::operator bool |
( |
| ) |
const |
|
explicit |
◆ operator bool() [2/2]
Catch::LazyExpression::operator bool |
( |
| ) |
const |
|
explicit |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ AssertionHandler
◆ AssertionStats
◆ operator<< [1/2]
auto operator<< |
( |
std::ostream & | os, |
|
|
LazyExpression const & | lazyExpr ) -> std::ostream& |
|
friend |
Definition at line 38 of file catch_assertionhandler.cpp.
38 {
39 if( lazyExpr.m_isNegated )
41
42 if( lazyExpr ) {
43 if( lazyExpr.m_isNegated && lazyExpr.m_transientExpression->isBinaryExpression() )
44 os <<
"(" << *lazyExpr.m_transientExpression <<
")";
45 else
46 os << *lazyExpr.m_transientExpression;
47 }
48 else {
49 os <<
"{** error - unchecked empty expression requested **}";
50 }
52 }
◆ operator<< [2/2]
auto operator<< |
( |
std::ostream & | os, |
|
|
LazyExpression const & | lazyExpr ) -> std::ostream& |
|
friend |
Definition at line 38 of file catch_assertionhandler.cpp.
38 {
39 if( lazyExpr.m_isNegated )
41
42 if( lazyExpr ) {
43 if( lazyExpr.m_isNegated && lazyExpr.m_transientExpression->isBinaryExpression() )
44 os <<
"(" << *lazyExpr.m_transientExpression <<
")";
45 else
46 os << *lazyExpr.m_transientExpression;
47 }
48 else {
49 os <<
"{** error - unchecked empty expression requested **}";
50 }
52 }
◆ RunContext
The documentation for this class was generated from the following files: