rxd.meta2.traits

Members

Aliases

Func
alias Func(RT, Args...) = RT function(Args)
Undocumented in source.
TypeOf
alias TypeOf(T) = T
Undocumented in source.
TypeOf
alias TypeOf(alias sym) = typeof(sym)
Undocumented in source.

Enums

isEnumValue
eponymoustemplate isEnumValue(T...)
Undocumented in source.

Templates

allConvertible
template allConvertible(From, To)
allMatchFirst
template allMatchFirst(alias pred, list...)
Undocumented in source.
allPairs
template allPairs(alias pred, List...)
Undocumented in source.
apply
template apply(alias func, args...)

Applies the sequence of arguments args to the function or template fun either as function or template arguments, at compile-time or at run-time (if CTFE is not possible).

isFuncLike
template isFuncLike(Func, Model)

Checks if Model's parameter types are convertible to Func's parameter types and Func's return type can be converted to Model's return type.

sameFunctionSignature
template sameFunctionSignature(alias F1, alias F2)
Undocumented in source.
staticMap1
template staticMap1(alias func, Args...)
Undocumented in source.
staticMap2
template staticMap2(alias func, Args...)
Undocumented in source.

Meta