kassert
0.2.2
Assertion library for KaMPIng
|
Decomposed unary expression. More...
#include <expression_decomposition.hpp>
Public Member Functions | |
UnaryExpression (LhsT const &lhs) | |
Constructs this unary expression from an expression. | |
bool | result () const final |
Evaluates this expression. | |
void | stringify (OStreamLogger &out) const final |
Writes this expression with stringified operands to the given assertion logger. | |
![]() | |
virtual | ~Expression ()=default |
Virtual destructor since we use virtual functions. | |
Decomposed unary expression.
Lhst | Decomposed expression type. |
|
inlineexplicit |
Constructs this unary expression from an expression.
lhs | The expression. |
|
inlinefinalvirtual |
Evaluates this expression.
Implements kassert::internal::Expression.
|
inlinefinalvirtual |
Writes this expression with stringified operands to the given assertion logger.
out | The assertion logger. |
Implements kassert::internal::Expression.