[#BloombergLP-bdlf-BindUtil-bindSR-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/BindUtil.adoc[BindUtil]::bindSR :relfileprefix: ../../../ :mrdocs: Return a shared binder for `func` with one bound argument and explicit return type. == Synopsis Declared in `<bdlf_bind.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_RET, class t_FUNC, class P1> static xref:BloombergLP/bdlf/BindWrapper.adoc[BindWrapper<t_RET, t_FUNC, Bind_BoundTuple1<Storage_Type<P1>::type>>] bindSR( xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator, t_FUNC func, P1&& p1); ---- == Description Return a `BindWrapper` object that is bound to the specified invocable object `func`, which can be invoked with one parameter 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 [cols="1,4"] |=== | Name| Description | *allocator* | memory allocator; null uses the default | *func* | invocable to bind | *p1* | bound argument 1 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#