Standard C++ Library Class Reference
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
unique, unique_copy
 Algorithm
Summary
Removes consecutive duplicates from a range of values and places the resulting unique values
into the result.
Contents
Synopsis● 
Description● 
Complexity● 
Example● 
Warning● 
Synopsis
#include <algorithm>
template <class ForwardIterator>
ForwardIterator unique (ForwardIterator first,
 ForwardIterator last);
template <class ForwardIterator, class BinaryPredicate>
ForwardIterator unique (ForwardIterator first,
 ForwardIterator last,
 BinaryPredicate binary_pred);
template <class InputIterator, class OutputIterator>
OutputIterator unique_copy (InputIterator first,
 InputIterator last,
 OutputIterator result);
template <class InputIterator,










