my.sumtype

Public Imports

sumtype
public import sumtype;

Members

Aliases

SumTypeFromReturn
alias SumTypeFromReturn(T...) = SumType!(AllReturn!T)
Undocumented in source.

Functions

contains
bool contains(ST st)

Check if an instance of a sumtype contains the specific type.

ignore
void ignore(T )

For ignoring types.

Templates

AllReturn
template AllReturn(Args...)

All return types from Args.

restrictTo
template restrictTo(Args...)

Restrict matching in a sumtype to a bundle of types.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)