Defined in header <algorithm> template< class InputIt, class OutputIt >
OutputIt unique_copy( InputIt first, InputIt last,
OutputIt d_first ); (1) template< class InputIt, class OutputIt, class BinaryPredicate >
OutputIt unique_copy( InputIt first, InputIt last,
OutputIt d_first, BinaryPredicate p ); (2)
Copies the elements from the range [first, last), to another range beginning at d_first in such a way that the