unique overloads

Synopses

Declared in <bslstl_list.h>

Erase from this list all but the first element of every consecutive group of elements that have the same value.

void
unique();

Erase from this list all but the first element of every consecutive group of elements for which the specified binaryPredicate returns true for any two consecutive elements in the group.

template<class EQ_PREDICATE>
void
unique(EQ_PREDICATE binaryPredicate);

Created with MrDocs