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

Name

Description

other

binder to copy

allocator

memory allocator; null uses the default

Created with MrDocs