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

Synopsis

Declared in <bdlf_bind.h>

BindWrapper(
    bslmf::ForwardingType<t_FUNC>::Type func,
    bslmf::MovableRef<t_BOUND_TUPLE> 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 to move from

allocator

memory allocator; null uses the default

Created with MrDocs