optional ~master (2021-10-31T03:15:21.3959971)
Dub
Repo
opDispatch.opDispatch
optional
oc
OptionalChain
opDispatch
Undocumented in source. Be warned that the author may not have intended to support it.
auto
opDispatch
(Args args)
template
opDispatch
(Ts...)
auto
opDispatch
(Args args)
template
opDispatch
(string name)
static if
(!(
is(typeof(__traits(getMember, T, name)) == function)
))
static if
(!(
__traits(isTemplate, mixin ("T." ~ name))
))
auto
opDispatch
(
Args
...
)
(
auto
ref
Args
args
)
if
(
hasMember
!(
T
,
name
)
)
Meta
Source
See Implementation
optional
oc
OptionalChain
opDispatch
functions
opDispatch