BloombergLP::bdlf::Bind::Bind

Create a binder that moves from another binder.

Synopsis

Declared in <bdlf_bind.h>

Bind(
    bslmf::MovableRef<Bind> other,
    bslma::Allocator* allocator = 0);

Description

Create a Bind object that is bound to the same invocable object with the same bound parameters as the specified other. Optionally specify an allocator used to supply memory. If allocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
otherbinder to move from
allocatormemory allocator; null uses the default