bsl::list::merge

See the first comparator merge overload above.

Synopsis

Declared in <bslstl_list.h>

template<class COMPARE>
void
merge(
    BloombergLP::bslmf::MovableRef<list> other,
    COMPARE comparator);

Parameters

NameDescription
othersorted list to merge into this list
comparatorbinary predicate used to order elements