describing the map

This commit is contained in:
Jidong Xiao
2023-11-09 16:28:29 -05:00
parent 7e4f88a567
commit 9f7aecc5b0

View File

@@ -113,7 +113,8 @@ if (itr != my_data.end()) {
## 21.5 Using STLs Associative Hash Table (Map)
- Using the default std::string hash function.
With no specified initial table size.
With no specified initial table size. (map a std::string type key to a Foo class type value)
```cpp
std::unordered_map<std::string,Foo> m;
```