bsl::list::unique

Erase consecutive duplicate elements, keeping the first of each group.

Synopsis

Declared in <bslstl_list.h>

void
unique();