Return a shared binder for func with six 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>
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);
Description
Return a BindWrapper object that is bound to the specified invocable object func, which can be invoked with six parameters and returns a value of type t_RET, 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
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 |
Created with MrDocs