merge overloads

Synopses

Declared in <bslstl_list.h>

See the first merge overload above.

Merge the specified sorted other list into this sorted list.

void
merge(list& other);

See the first comparator merge overload above.

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

Merge sorted other into this list using the specified comparator.

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

Parameters

Name

Description

other

sorted list to merge into this list

comparator

binary predicate used to order elements

Created with MrDocs