bindR overloads

Synopses

Declared in <bdlf_bind.h>

Return a binder that invokes func with an explicit return type.

template<
    class t_RET,
    class t_FUNC>
static
Bind<t_RET, t_FUNC, Bind_BoundTuple0>
bindR(t_FUNC func);

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

template<
    class t_RET,
    class t_FUNC,
    class P1>
static
Bind<t_RET, t_FUNC, Bind_BoundTuple1<Storage_Type<P1>::type>>
bindR(
    t_FUNC func,
    P1&& p1);

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

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2>
static
Bind<t_RET, t_FUNC, Bind_BoundTuple2<Storage_Type<P1>::type, Storage_Type<P2>::type>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2);

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

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3>
static
Bind<t_RET, t_FUNC, Bind_BoundTuple3<Storage_Type<P1>::type, Storage_Type<P2>::type, Storage_Type<P3>::type>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3);

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

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4>
static
Bind<t_RET, t_FUNC, Bind_BoundTuple4<Storage_Type<P1>::type, Storage_Type<P2>::type, Storage_Type<P3>::type, Storage_Type<P4>::type>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4);

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

template<
    class t_RET,
    class t_FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5>
static
Bind<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>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5);

Return a binder for func with 6 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
Bind<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>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6);

Return a binder for func with 7 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
Bind<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>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6,
    P7&& p7);

Return a binder for func with 8 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
Bind<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>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6,
    P7&& p7,
    P8&& p8);

Return a binder for func with 9 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
Bind<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>>
bindR(
    t_FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5,
    P6&& p6,
    P7&& p7,
    P8&& p8,
    P9&& p9);

Return a binder for func with 10 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
Bind<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>>
bindR(
    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 binder for func with 11 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
Bind<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>>
bindR(
    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 binder for func with 12 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
Bind<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>>
bindR(
    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 binder for func with 13 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
Bind<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>>
bindR(
    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 binder for func with 14 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
Bind<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>>
bindR(
    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 binder object invoking func with the bound arguments

Parameters

Name

Description

func

invocable to bind

p1

first bound argument or placeholder

p2

second bound argument or placeholder

p3

third bound argument or placeholder

p4

fourth bound argument or placeholder

p5

fifth bound argument or placeholder

p6

sixth bound argument or placeholder

p7

seventh bound argument or placeholder

p8

eighth bound argument or placeholder

p9

ninth bound argument or placeholder

p10

tenth bound argument or placeholder

p11

eleventh bound argument or placeholder

p12

twelfth bound argument or placeholder

p13

thirteenth bound argument or placeholder

p14

fourteenth bound argument or placeholder

Created with MrDocs