|
kassert
1.0.0
Assertion library for KaMPIng
|
The left hand size of a decomposed expression. This can either be turned into a BinaryExpr if an operand or relation follows, or into a UnaryExpr otherwise.
More...
#include <expression_decomposition.hpp>
Public Member Functions | |
| LhsExpression (LhsT const &lhs) | |
| Constructs this left hand size of a decomposed expression. | |
| UnaryExpression< LhsT > | make_unary () |
Turns this expression into an UnaryExpr. This might only be called if the wrapped expression is implicitly convertible to bool. | |
| operator bool () | |
| Implicitly cast to bool. This is used when encountering && or ||. | |
The left hand size of a decomposed expression. This can either be turned into a BinaryExpr if an operand or relation follows, or into a UnaryExpr otherwise.
| LhsT | The expression type. |
|
inlineexplicit |
Constructs this left hand size of a decomposed expression.
| lhs | The wrapped expression. |
|
inline |
Turns this expression into an UnaryExpr. This might only be called if the wrapped expression is implicitly convertible to bool.
UnaryExpr.
|
inline |
Implicitly cast to bool. This is used when encountering && or ||.