[#bsl-list-054-unique-0b]
= xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::unique
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bslstl&lowbar;list&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
unique();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
