BloombergLP::bdlf::BindUtil::bindR

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

Synopsis

Declared in <bdlf_bind.h>

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);

Description

Return a Bind object that is bound to the specified invocable object func, which can be invoked with eight parameters and returns a value of type t_RET.

Return Value

a binder object invoking func with the bound arguments

Parameters

NameDescription
funcinvocable to bind
p1first bound argument or placeholder
p2second bound argument or placeholder
p3third bound argument or placeholder
p4fourth bound argument or placeholder
p5fifth bound argument or placeholder
p6sixth bound argument or placeholder
p7seventh bound argument or placeholder
p8eighth bound argument or placeholder