[#bsl-slist-merge-0d]
= xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::merge
:relfileprefix: ../../
:mrdocs:

Merge sorted `&lowbar;&lowbar;x` into this list ordered by `&lowbar;&lowbar;comp`&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;StrictWeakOrdering&gt;
void
merge(
    xref:bsl/slist.adoc[slist&lt;&lowbar;Tp, &lowbar;Alloc&gt;]& &lowbar;&lowbar;x,
    &lowbar;StrictWeakOrdering &lowbar;&lowbar;comp);
----


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