universal v0.1.1 (2020-08-30T22:03:12Z)
Dub
Repo
tryPattern.tryPattern
universal
core
match
matchOne
matchOne
tryPattern
Undocumented in source.
alias
tryPattern
=
apply
!(
patterns
[
i
])
alias
tryPattern
=
tryPattern
!(
i
+
1
)
template
tryPattern
(uint i = 0)
static if
(!(
__traits(compiles, apply!(patterns[i])(A.init))
))
alias
tryPattern
=
tryPattern
!(
i
+ 1)
Meta
Source
See Implementation
universal
core
match
matchOne
matchOne
tryPattern
aliases
tryPattern