Create a binder for the specified invocable and moved argument list.

Synopsis

Declared in <bdlf_bind.h>

Bind(
    bslmf::ForwardingType<t_FUNC>::Type func,
    bslmf::MovableRef<t_BOUND_TUPLE> 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 moved into the object. Optionally specify an allocator used to supply memory. If allocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

func

invocable object to bind

list

bound‐argument tuple to move from

allocator

memory allocator; null uses the default

Created with MrDocs