BloombergLP::bdlf::BindUtil::bindSR

Return a BindWrapper object that is bound to the specified invocable object func, which can be invoked with no 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.

Synopsis

Declared in <bdlf_bind.h>

template<
    class t_RET,
    class t_FUNC>
static
BindWrapper<t_RET, t_FUNC, bdlf::Bind_BoundTuple0>
bindSR(
    bslma::Allocator* allocator,
    t_FUNC func);