Create a shared wrapper around a binder for the given arguments.

Synopsis

Declared in <bdlf_bind.h>

BindWrapper(
    bslmf::ForwardingType<t_FUNC>::Type func,
    t_BOUND_TUPLE const& tuple,
    bslma::Allocator* allocator = 0);

Description

Create a wrapper with shared pointer semantics around a binder constructed with the specified func invocable and specified tuple bound arguments. Optionally specify the allocator.

Parameters

Name

Description

func

invocable object to bind

tuple

bound‐argument tuple

allocator

memory allocator; null uses the default

Created with MrDocs