See Figure C.3
See Figure C.4
See Figure C.5
The Vector and vector templates provide reference and by-value semantics, with append storing pointers and values, and the index operator returning references and values, respectively.
The Stack and stack templates provide reference and by-value semantics, respectively, while sharing an otherwise common interface. See the parent classes Vector<T> and vector<T> for details.