Constructors
Declared in <bdlf_bind.h>
Create a wrapper that shares ownership of another wrapper's binder.
BindWrapper(BindWrapper<t_RET, t_FUNC, t_BOUND_TUPLE> const& original);
» more...
Create a wrapper that assumes ownership of another wrapper's binder.
BindWrapper(bslmf::MovableRef<BindWrapper<t_RET, t_FUNC, t_BOUND_TUPLE>> original) noexcept;
» more...
Create a shared wrapper around a binder for the given arguments.
BindWrapper(
bslmf::ForwardingType<t_FUNC>::Type func,
bslmf::MovableRef<t_BOUND_TUPLE> tuple,
bslma::Allocator* allocator = 0);
» more...
Create a shared wrapper around a binder for the given arguments.
BindWrapper(
bslmf::ForwardingType<t_FUNC>::Type func,
t_BOUND_TUPLE const& tuple,
bslma::Allocator* allocator = 0);
» more...
| Name | Description |
|---|---|
| original | wrapper whose binder is shared |
| func | invocable object to bind |
| tuple | bound-argument tuple to move from |
| allocator | memory allocator; null uses the default |