KASSERT
0.0.1
Karlsruhe Assertion Library
|
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. More... | |
UnaryExpression< LhsT > | make_unary () |
Turns this expression into an UnaryExpr . This might only be called if the wrapped expression is implicitly convertible to bool . More... | |
operator bool () | |
Implicitly cast to bool. This is used when encountering && or ||. More... | |
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 ||.