The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
bind.bind
std
functional
bind
template
bind
(alias fun)
ref
auto ref
bind
(
T
)
(
auto
ref
T
args
)
if
(
is
(
T
== struct)
)
Parameters
args
T
The struct or tuple whose fields will be used as arguments.
Return Value
Type:
auto ref
fun(args.tupleof)
Meta
Source
See Implementation
std
functional
bind
functions
bind