Skip to content

Latest commit

 

History

History

27

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Exercise 10.27

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.

Solution

See 27.cc.