BloombergLP::bdlf::Bind::Bind

Create a binder that copies another binder.

Synopsis

Declared in <bdlf_bind.h>

Bind(
    Bind const& 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 copy
allocatormemory allocator; null uses the default