Template if_

Execute trueBranch or falseBranch depending on pred!Args bool result.

template if_(alias pred, alias trueBranch, alias falseBranch) ;

Contained Templates

NameDescription
if_

Parameters

NameDescription
pred template depending on which a trueBranch or falseBranch will be executed.
trueBranch template to be executed when pred!Args is true.
falseBranch template to be executed when pred!Args is false.

Return

Result of trueBranch or falseBranch depending on pred!Args