BloombergLP::bdlf::Bind::Bind

Create a binder for the specified invocable and argument list.

Synopsis

Declared in <bdlf_bind.h>

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

Description

Create a Bind object that is bound to the specified func invocable object with the specified argument list list. Optionally specify an allocator used to supply memory. If allocator is 0, the currently installed default allocator is used.

Parameters

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