dyaml v0.9.2 (2022-08-24T21:56:38Z)
Home
Dub
Repo
match.match
dyaml
stdsumtype
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
dyaml
stdsumtype
match
functions
match
The actual match function.