Create a shared wrapper around a binder for the given arguments.
Declared in <bdlf_bind.h>
BindWrapper(
bslmf::ForwardingType<t_FUNC>::Type func,
t_BOUND_TUPLE const& tuple,
bslma::Allocator* allocator = 0);
Create a wrapper with shared pointer semantics around a binder constructed with the specified func invocable and specified tuple bound arguments. Optionally specify the allocator.
| Name | Description |
|---|---|
| func | invocable object to bind |
| tuple | bound-argument tuple |
| allocator | memory allocator; null uses the default |