sdc ~master (2022-04-26T13:08:25Z)
Dub
Repo
dispatch
util
visitor
Undocumented in source. Be warned that the author may not have intended to support it.
auto
dispatch
(V visitor, Args args, T t)
auto
dispatch
(V visitor, Args args, T t)
auto
dispatch
(
alias
unhandled
= function
void
(
t
)
V
T
Args
...
)
(
V
visitor
,
Args
args
,
T
t
)
if
(
(
is
(
V
== class) ||
is
(
V
== interface)
)
&&
(
is
(
T
== class) ||
is
(
T
== interface)
)
)
Meta
Source
See Implementation
util
visitor
functions
accept
dispatch