[#bsl-multiset-02]
= xref:bsl.adoc[bsl]::xref:bsl/multiset-03.adoc[multiset&lt;KEY&gt;]
:relfileprefix: ../
:mrdocs:

Deduce `KEY` from an initializer list with `ALLOC &ast;`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class ALLOC,
    class DEFAULT&lowbar;ALLOCATOR = xref:bsl/allocator-0df.adoc[bsl::allocator&lt;KEY&gt;]&gt;
requires bsl&colon;&colon;is&lowbar;convertible&lowbar;v&lt;ALLOC &ast;, DEFAULT&lowbar;ALLOCATOR&gt;
xref:bsl/multiset-03.adoc[multiset&lt;KEY&gt;](
    std::initializer&lowbar;list&lt;KEY&gt;,
    ALLOC*) -> xref:bsl/multiset-03.adoc[multiset&lt;KEY&gt;];
----

== Description

Deduce the template parameter `KEY` from the `value&lowbar;type` of the initializer&lowbar;list supplied to the constructor of `multiset`&period; This deduction guide does not participate unless the specified `ALLOC` is convertible to `bsl&colon;&colon;allocator&lt;KEY&gt;`&period;


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