Return a shared binder for func with no bound arguments.
Declared in <bdlf_bind.h>
template<class t_FUNC>
static
BindWrapper<bslmf::Nil, t_FUNC, bdlf::Bind_BoundTuple0>
bindS(
bslma::Allocator* allocator,
t_FUNC func);
Return a BindWrapper object that is bound to the specified func invocable object which can be invoked with no 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 |