dalicious.traits

Additional traits functions.

Members

Templates

aliasIf
template aliasIf(bool cond, Args...)

Alias of Args if cond is true; otherwise an empty AliasSeq.

haveVersion
template haveVersion(string version_)

Evaluates to true if version_ is defined.

staticIfElse
template staticIfElse(bool cond, alias ifValue, alias elseValue)

Select an alias based on a condition at compile time. Aliases can be virtually anything (values, references, functions, types).

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

Arne Ludwig <arne.ludwig@posteo.de>