bsl::list::merge

merge overloads

Synopses

Declared in <bslstl_list.h>

See the first merge overload above.

void
merge(BloombergLP::bslmf::MovableRef<list> other);
» more...

Merge the specified sorted other list into this sorted list.

void
merge(list& other);
» more...

See the first comparator merge overload above.

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

Merge sorted other into this list using the specified comparator.

template<class COMPARE>
void
merge(
    list& other,
    COMPARE comparator);
» more...

Parameters

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