Return a binder for func with 2 bound arguments and explicit return type.
Synopsis
Declared in <bdlf_bind.h>
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);
Description
Return a Bind object that is bound to the specified invocable object func, which can be invoked with two parameters and returns a value of type t_RET.
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 |
Created with MrDocs