bsl::list::sort

sort overloads

Synopses

Declared in <bslstl_list.h>

Sort this list in non-decreasing order using operator<.

void
sort();
» more...

Sort this list in non-decreasing order using the specified comparator.

template<class COMPARE>
void
sort(COMPARE comparator);
» more...

Parameters

NameDescription
comparatorbinary predicate defining the sort order