daemonize.keymap

Module holds compile-time associative map with heterogeneous keys and values. *

Members

Templates

ExpressionList
template ExpressionList(T...)

Simple expression list wrapper. *

KeyValueList
template KeyValueList(Pairs...)

Static associative map. * Pairs is a list of pairs key-value.

StrictExpressionList
template StrictExpressionList(T...)

Sometimes we don't want to auto expand expression ExpressionLists. That can be used to pass several lists into templates without breaking their boundaries.

staticFilter
template staticFilter(alias F, T...)

Performs filtering of expression tuple T one by one by function or template F. If F returns true the resulted element goes to returned expression tuple, else it is discarded.

staticFilter2
template staticFilter2(alias F, T...)

Performs filtering of expression tuple T by pairs by function or template F. If F returns true the resulted pair goes to returned expression tuple, else it is discarded.

staticFold
template staticFold(alias F, T...)

Static version of std.algorithm.reduce (or fold). Expects that F takes accumulator as first argument and a value as second argument. * First value of T have to be a initial value of accumulator.

staticMap2
template staticMap2(alias F, T...)

Same as std.typetyple.staticMap, but passes two arguments to the first template.

staticRobin
template staticRobin(SF...)

Compile-time variant of std.range.robin for expression ExpressionLists.

Meta

Authors

NCrashed <ncrashed@gmail.com>

License

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