Return a shared binder for func with one bound argument.
Declared in <bdlf_bind.h>
template<
class t_FUNC,
class P1>
static
BindWrapper<bslmf::Nil, t_FUNC, Bind_BoundTuple1<Storage_Type<P1>::type>>
bindS(
bslma::Allocator* allocator,
t_FUNC func,
P1&& p1);
Return a BindWrapper object that is bound to the specified invocable object func, which can be invoked with one parameters, using the specified allocator to supply memory, or the currently installed default allocator if allocator == 0.
a shared binder object invoking func with the bound arguments
| Name | Description |
|---|---|
| allocator | memory allocator; null uses the default |
| func | invocable to bind |
| p1 | bound argument 1 |