[#bsl-set-09] = xref:bsl.adoc[bsl]::xref:bsl/set-0d.adoc[set<KEY, COMPARATOR>] :relfileprefix: ../ :mrdocs: Deduce the template parameter `KEY` from the `value_type` of the initializer_list supplied to the constructor of `set`. Deduce the template parameter `COMPARATOR` from the other parameter passed to the constructor. This deduction guide does not participate unless the specified `ALLOC` is convertible to `bsl::allocator<KEY>`. == Synopsis Declared in `<bslstl_set.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class COMPARATOR, class ALLOC, class DEFAULT_ALLOCATOR = xref:bsl/allocator-0df.adoc[bsl::allocator<KEY>]> requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR> xref:bsl/set-0d.adoc[set<KEY, COMPARATOR>]( std::initializer_list<KEY>, COMPARATOR, ALLOC*) -> xref:bsl/set-0d.adoc[set<KEY, COMPARATOR>]; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#