Figure 15.3 shows the common first-class container nested types (types defined inside each container class definition). These are used in template-based declarations of variables, parameters to functions and return values from functions (as you’ll see in this chapter and Chapter 16). For example, value_type
in each container always represents the type of elements stored in the container. The types reverse_iterator
and const_reverse_iterator
are not provided by class forward_list
.
13.59.173.242