aurorafw ~master (2020-10-29T20:10:48Z)
Dub
Repo
match.match
aurorafw
stdx
typecons
match
Undocumented in source. Be warned that the author may not have intended to support it.
template
match
(handlers...)
MatchReturnType
!
handlers
match
(
T
)
(
auto
ref
T
t
)
if
(
__traits(
isSame
,
TemplateOf
!
T
,
Nullable
) ||
__traits(
isSame
,
TemplateOf
!
T
,
Optional
)
)
if
(
handlers.length
<= 2 &&
handlers.length
>= 1
)
Meta
Source
See Implementation
aurorafw
stdx
typecons
match
functions
match