Extract the compile-time Boolean value from a MetaInt expression.
Declared in <bslmf_metaint.h>
#define BSLMF_METAINT_TO_BOOL(expr)
Given an integral value, V, and an expression, expr, of type bslmf::MetaInt<V>, this macro returns a compile-time constant with value, true or false, according to the Boolean value of V. The expression, expr, is not evaluated at run-time.
| Name | Description |
|---|---|
| expr | MetaInt expression whose Boolean value is extracted |