[#bsl-list-054-merge-072] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::merge :relfileprefix: ../../ :mrdocs: See the first comparator `merge` overload above. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class COMPARE> void merge( xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<list>] other, COMPARE comparator); ---- == Parameters [cols="1,4"] |=== | Name| Description | *other* | sorted list to merge into this list | *comparator* | binary predicate used to order elements |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#