match.match

The actual match function.

template match(handlers...)
match
(
Self
)
(
auto ref Self self
)
if (
is(Self : SumType!TypeArgs,
TypeArgs...
)
)

Parameters

self Self

A SumType object

Meta