bindSR overloads

Synopses

Declared in <bdlf_bind.h>

Return a shared binder for func with no bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC>
static
BindWrapper<t_RET, t_FUNC, bdlf::Bind_BoundTuple0>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func);

Return a shared binder for func with one bound argument and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple1<Storage_Type<P1>::type>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1);

Return a shared binder for func with two bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple2<Storage_Type<P1>::type, Storage_Type<P2>::type>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2);

Return a shared binder for func with three bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple3<Storage_Type<P1>::type, Storage_Type<P2>::type, Storage_Type<P3>::type>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3);

Return a shared binder for func with four bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple4<Storage_Type<P1>::type, Storage_Type<P2>::type, Storage_Type<P3>::type, Storage_Type<P4>::type>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4);

Return a shared binder for func with five bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple5<Storage_Type<P1>::type, Storage_Type<P2>::type, Storage_Type<P3>::type, Storage_Type<P4>::type, Storage_Type<P5>::type>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5);

Return a shared binder for func with six bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5,
    class P6>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple6<Storage_Type<P1>::type, Storage_Type<P2>::type, Storage_Type<P3>::type, Storage_Type<P4>::type, Storage_Type<P5>::type, Storage_Type<P6>::type>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6);

Return a shared binder for func with seven bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5,
    class P6,
    class P7>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple7<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>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6,
    P7&& p7);

Return a shared binder for func with eight bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5,
    class P6,
    class P7,
    class P8>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple8<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>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6,
    P7&& p7,
    P8&& p8);

Return a shared binder for func with nine bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5,
    class P6,
    class P7,
    class P8,
    class P9>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple9<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>>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6,
    P7&& p7,
    P8&& p8,
    P9&& p9);

Return a shared binder for func with ten bound arguments and explicit return type.

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5,
    class P6,
    class P7,
    class P8,
    class P9,
    class P10>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple10<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>>
bindSR(
    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);

Return a shared binder for func with eleven bound arguments and explicit return type.

template<
    class t_RET,
    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>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple11<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>>
bindSR(
    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);

Return a shared binder for func with twelve bound arguments and explicit return type.

template<
    class t_RET,
    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<t_RET, 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>>
bindSR(
    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);

Return a shared binder for func with thirteen bound arguments and explicit return type.

template<
    class t_RET,
    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,
    class P13>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple13<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, Storage_Type<P13>::type>>
bindSR(
    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,
    P13&& p13);

Return a shared binder for func with fourteen bound arguments and explicit return type.

template<
    class t_RET,
    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,
    class P13,
    class P14>
static
BindWrapper<t_RET, t_FUNC, Bind_BoundTuple14<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, Storage_Type<P13>::type, Storage_Type<P14>::type>>
bindSR(
    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,
    P13&& p13,
    P14&& p14);

Return Value

a shared binder object invoking func with the bound arguments

Parameters

Name

Description

allocator

memory allocator; null uses the default

func

invocable to bind

p1

bound argument 1

p2

bound argument 2

p3

bound argument 3

p4

bound argument 4

p5

bound argument 5

p6

bound argument 6

p7

bound argument 7

p8

bound argument 8

p9

bound argument 9

p10

bound argument 10

p11

bound argument 11

p12

bound argument 12

p13

bound argument 13

p14

bound argument 14

Created with MrDocs