watchexec ~master (2021-10-12T13:58:57Z)
Dub
Repo
match.match
sumtype
match
The actual
match
function.
template
match
(handlers...)
ref
auto ref
match
(
SumTypes
...
)
(
auto
ref
SumTypes
args
)
if
(
allSatisfy
!(
isSumType
,
SumTypes
) &&
args.length
> 0
)
Parameters
args
SumTypes
One or more
SumType
objects.
Meta
Source
See Implementation
sumtype
match
functions
match
The actual match function.