Constructors

Synopses

Declared in <bdlf_bind.h>

Create a wrapper that shares ownership of another wrapper's binder.

Create a wrapper that assumes ownership of another wrapper's binder.

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

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

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

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

Parameters

Name

Description

original

wrapper whose binder is shared

func

invocable object to bind

tuple

bound‐argument tuple to move from

allocator

memory allocator; null uses the default

Created with MrDocs