移除重复是在手指围绕在指定范围的元素。
template<class _FwdIt> inline
_FwdIt unique(_FwdIt _First, _FwdIt _Last);
template<class _FwdIt, class _Pr> inline
_FwdIt unique(_FwdIt _First, _FwdIt _Last, _Pr _Pred);
备注
此功能相同的行为就如同 STL 功能 unique的。有关更多信息,请参见 unique (<algorithm>)。
要求
标题: <cliext/算法>
命名空间: cliext