BloombergLP::bdlf::Bind::Bind

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

Synopsis

Declared in <bdlf_bind.h>

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