std::placeholders
(C++)
The std::placeholders
namespace contains the placeholder objects [_1, ..., _N]
where N
is an implementation defined maximum number.
Resources
std::placeholders
are used in conjunction with std::bind
to create partially applied functions.
Example
Here, boundFunc is this function
We see this a lot in ROS, when you bind the first value to this
.