diff --git a/lectures/21_hash_tables_II/README.md b/lectures/21_hash_tables_II/README.md index 1e3c624..f7d02e6 100644 --- a/lectures/21_hash_tables_II/README.md +++ b/lectures/21_hash_tables_II/README.md @@ -114,7 +114,7 @@ if (itr != my_data.end()) { - Using the default std::string hash function. - – With no specified initial table size. (map a std::string type key to a Foo class type value) + – With no specified initial table size. (map a std::string type key to a class Foo type value) ```cpp std::unordered_map m; ``` @@ -132,6 +132,7 @@ std::unordered_map > m( std::unordered_map m(1000, MyHashFunction); ``` - Using a home-made std::string hash functor or function object. + – With no specified initial table size. ```cpp std::unordered_map m;