移除指定范围中彼此相邻的重复元素。
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/algorithm>
命名空间: cliext