KASSERT
0.0.1
Karlsruhe Assertion Library
|
Decomposed unary expression. More...
#include <expression_decomposition.hpp>
Public Member Functions | |
UnaryExpression (LhsT const &lhs) | |
Constructs this unary expression from an expression. More... | |
bool | result () const final |
Evaluates this expression. More... | |
void | stringify (OStreamLogger &out) const final |
Writes this expression with stringified operands to the given assertion logger. More... | |
Public Member Functions inherited from kassert::internal::Expression | |
virtual | ~Expression ()=default |
Virtual destructor since we use virtual functions. | |
virtual bool | result () const =0 |
Evaluate the assertion wrapped in this Expr. More... | |
virtual void | stringify (OStreamLogger &out) const =0 |
Write this expression with stringified operands to the given assertion logger. More... | |
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.