Create a shared wrapper around a binder for the given arguments.
Declared in <bdlf_bind.h>
BindWrapper(
bslmf::ForwardingType<t_FUNC>::Type func,
bslmf::MovableRef<t_BOUND_TUPLE> 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 to move from |
| allocator | memory allocator; null uses the default |