[#BloombergLP-bdlf-BindUtil-bindSR-0b3] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/BindUtil.adoc[BindUtil]::bindSR :relfileprefix: ../../../ :mrdocs: Return a `BindWrapper` 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`, using the specified `allocator` to supply memory, or the currently installed default allocator if `allocator == 0`. == Synopsis Declared in `<bdlf_bind.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_RET, class t_FUNC, class P1, class P2> static xref:BloombergLP/bdlf/BindWrapper.adoc[BindWrapper<t_RET, t_FUNC, Bind_BoundTuple2<Storage_Type<P1>::type, Storage_Type<P2>::type>>] bindSR( xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator, t_FUNC func, P1&& p1, P2&& p2); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#