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

Name

Description

other

binder to move from

allocator

memory allocator; null uses the default

Created with MrDocs