Member predicate ConstexprIfStmt::getThen
Gets the ‘then’ statement of this ‘constexpr if’ statement.
For example, for
if constexpr (b) { x = 1; }
the result is the BlockStmt
{ x = 1; }
.
Gets the ‘then’ statement of this ‘constexpr if’ statement.
For example, for
if constexpr (b) { x = 1; }
the result is the BlockStmt
{ x = 1; }
.