Remove Duplicates

Next, we'll study ways to make sure each element in our range is unique.

We'll cover the following...

With the algorithms std::unique and std::unique_copy you have more opportunities to remove adjacent duplicates. This can be done ...