- #1
TylerH
- 729
- 0
The STL containers have a lot of member types, so I assume they must be there for declaring variables of those types. However, I can't discern how exactly it is that I'm supposed to use those member types to declare a variable.
For example:
For example:
Code:
map<int, char> t;
t::key_type u; // I want this to mean "int u." That is the purpose of the member type, isn't it?