BloombergLP::bdlf::BindUtil::bindS

Return a shared binder for func with twelve bound arguments.

Synopsis

Declared in <bdlf_bind.h>

template<
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5,
    class P6,
    class P7,
    class P8,
    class P9,
    class P10,
    class P11,
    class P12>
static
BindWrapper<bslmf::Nil, t_FUNC, Bind_BoundTuple12<Storage_Type<P1>::type, Storage_Type<P2>::type, Storage_Type<P3>::type, Storage_Type<P4>::type, Storage_Type<P5>::type, Storage_Type<P6>::type, Storage_Type<P7>::type, Storage_Type<P8>::type, Storage_Type<P9>::type, Storage_Type<P10>::type, Storage_Type<P11>::type, Storage_Type<P12>::type>>
bindS(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6,
    P7&& p7,
    P8&& p8,
    P9&& p9,
    P10&& p10,
    P11&& p11,
    P12&& p12);

Description

Return a BindWrapper object that is bound to the specified invocable object func, which can be invoked with twelve parameters, using the specified allocator to supply memory, or the currently installed default allocator if allocator == 0.

Return Value

a shared binder object invoking func with the bound arguments

Parameters

NameDescription
allocatormemory allocator; null uses the default
funcinvocable to bind
p1bound argument 1
p2bound argument 2
p3bound argument 3
p4bound argument 4
p5bound argument 5
p6bound argument 6
p7bound argument 7
p8bound argument 8
p9bound argument 9
p10bound argument 10
p11bound argument 11
p12bound argument 12