|
| BinaryExpression (bool const result, LhsT const &lhs, std::string_view const op, RhsT const &rhs) |
| Constructs a decomposed binary expression. More...
|
|
bool | result () const final |
| The boolean result of the expression. This is used when retrieving the expression result after decomposition. More...
|
|
| operator bool () |
| Implicitly cast to bool. This is used when encountering && or ||. More...
|
|
void | stringify (OStreamLogger &out) const final |
| Writes this expression with stringified operands to the given assertion logger. More...
|
|
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...
|
|
template<typename LhsT, typename RhsT>
class kassert::internal::BinaryExpression< LhsT, RhsT >
A decomposed binary expression.
- Template Parameters
-
LhsT | Decomposed type of the left hand side of the expression. |
RhsT | Decomposed type of the right hand side of the expression. |