dextool v4.0.0 (2021-09-08T15:39:18Z)
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.