BloombergLP::bdlf::BindWrapper::BindWrapper

Create a shared wrapper around a binder for the given arguments.

Synopsis

Declared in <bdlf_bind.h>

BindWrapper(
    bslmf::ForwardingType<t_FUNC>::Type func,
    t_BOUND_TUPLE const& tuple,
    bslma::Allocator* allocator = 0);

Description

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.

Parameters

NameDescription
funcinvocable object to bind
tuplebound-argument tuple
allocatormemory allocator; null uses the default