if_

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

template if_ (
alias pred
alias trueBranch
alias falseBranch
) {}

Members

Templates

if_
template if_(Args...)
Undocumented in source.

Parameters

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

Meta