| title |
unique (STL/CLR) | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
unique function [STL/CLR] |
|
| ms.assetid |
833cc314-b452-4659-bbb4-575c2bb63855 |
| caps.latest.revision |
4 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Removes duplicate elements that are adjacent to each other in a specified range.
template<class _FwdIt> inline
_FwdIt unique(_FwdIt _First, _FwdIt _Last);
template<class _FwdIt, class _Pr> inline
_FwdIt unique(_FwdIt _First, _FwdIt _Last, _Pr _Pred);
Remarks
This function behaves the same as the C++ Standard Library function unique. For more information, see unique.
Header: <cliext/algorithm>
Namespace: cliext
algorithm (STL/CLR)