The end() function returns an iterator just past the end of the set.
Note that before you can access the last element of the set using an iterator
that you get from a call to end(), you'll have to decrement the iterator first.

For example, the following code uses end() to display the set in reverse order: