[#bsl-vector-009]
= xref:bsl.adoc[bsl]::xref:bsl/vector-00d.adoc[vector&lt;VALUE&gt;]
:relfileprefix: ../
:mrdocs:

Deduce the template parameter `VALUE` from the corresponding parameter supplied to the constructor of `vector`&period; This deduction guide does not participate unless the supplied allocator is convertible to `bsl&colon;&colon;allocator&lt;VALUE&gt;`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class SIZE&lowbar;TYPE,
    class VALUE,
    class ALLOC,
    class DEFAULT&lowbar;ALLOCATOR = xref:bsl/allocator-0df.adoc[bsl::allocator&lt;VALUE&gt;]&gt;
requires bsl&colon;&colon;is&lowbar;convertible&lowbar;v&lt;
                SIZE&lowbar;TYPE,
                typename bsl&colon;&colon;allocator&lowbar;traits&lt;DEFAULT&lowbar;ALLOCATOR&gt;&colon;&colon;size&lowbar;type&gt; &amp;&amp; bsl&colon;&colon;is&lowbar;convertible&lowbar;v&lt;ALLOC &ast;, DEFAULT&lowbar;ALLOCATOR&gt;
xref:bsl/vector-00d.adoc[vector&lt;VALUE&gt;](
    SIZE&lowbar;TYPE,
    VALUE,
    ALLOC*) -> xref:bsl/vector-00d.adoc[vector&lt;VALUE&gt;];
----


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