Exercise 16.1:
instantiation: class or function generated by the compiler from a template.
Exercise 16.4:
Exercise 16.5:
Exercise 16.6:
Exercise 16.7:
Exercise 16.8:
As we've seen, only a few library types, vector and string being among them, have the subscript operator. Similarly, all of the library containers have iterators that define the == and != operators. Most of those iterators do not have the < operator. By routinely using iterator and !=, we don't have to worry about the precise type of container we're processing.