sdc ~master (2022-04-27T09:06:21.0662869)
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
(
alias
unhandled
= function
void
(
t
)
V
T
Args
...
)
(
ref
V
visitor
,
Args
args
,
T
t
)
if
(
is
(
V
== struct) &&
(
is
(
T
== class) ||
is
(
T
== interface)
)
)
auto
dispatch
(V visitor, Args args, T t)
Meta
Source
See Implementation
util
visitor
functions
accept
dispatch