BloombergLP::bdlf::BindUtil::bindR

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

Synopsis

Declared in <bdlf_bind.h>

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

Description

Return a Bind object that is bound to the specified invocable object func and returns a value of type t_RET.

Return Value

a binder object invoking func with the bound arguments

Parameters

NameDescription
funcinvocable to bind