dextool v3.3.0 (2021-06-08T20:46:23Z)
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.