[#BloombergLP-bdlf-BindUtil-bindS-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/BindUtil.adoc[BindUtil]::bindS
:relfileprefix: ../../../
:mrdocs:

Return a shared binder for `func` with five bound arguments&period;

== Synopsis

Declared in `&lt;bdlf&lowbar;bind&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;FUNC,
    class P1,
    class P2,
    class P3,
    class P4,
    class P5&gt;
static
xref:BloombergLP/bdlf/BindWrapper.adoc[BindWrapper&lt;bslmf::Nil, t&lowbar;FUNC, Bind&lowbar;BoundTuple5&lt;Storage&lowbar;Type&lt;P1&gt;::type, Storage&lowbar;Type&lt;P2&gt;::type, Storage&lowbar;Type&lt;P3&gt;::type, Storage&lowbar;Type&lt;P4&gt;::type, Storage&lowbar;Type&lt;P5&gt;::type&gt;&gt;]
bindS(
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator,
    t&lowbar;FUNC func,
    P1&& p1,
    P2&& p2,
    P3&& p3,
    P4&& p4,
    P5&& p5);
----

== Description

Return a `BindWrapper` object that is bound to the specified invocable object `func`, which can be invoked with five parameters, using the specified `allocator` to supply memory, or the currently installed default allocator if `allocator &equals;&equals; 0`&period;

== Return Value

a shared binder object invoking `func` with the bound arguments

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| memory allocator&semi; null uses the default
| *func*
| invocable to bind
| *p1*
| bound argument 1
| *p2*
| bound argument 2
| *p3*
| bound argument 3
| *p4*
| bound argument 4
| *p5*
| bound argument 5
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
