In addition to unique
, the library defines a function named unique_copy
that
takes a third iterator denoting a destination into which to copy the unique
elements. Write a program that uses unique_copy
to copy the unique elements
from a vector
into an initially empty list
.
See 27.cc
.