@@ -110,18 +110,18 @@ class NodeHashMapPolicy;
110110// absl::node_hash_map<std::string, std::string> ducks =
111111// {{"a", "huey"}, {"b", "dewey"}, {"c", "louie"}};
112112//
113- // // Insert a new element into the node hash map
114- // ducks.insert({"d", "donald"}};
113+ // // Insert a new element into the node hash map
114+ // ducks.insert({"d", "donald"}};
115115//
116- // // Force a rehash of the node hash map
117- // ducks.rehash(0);
116+ // // Force a rehash of the node hash map
117+ // ducks.rehash(0);
118118//
119- // // Find the element with the key "b"
120- // std::string search_key = "b";
121- // auto result = ducks.find(search_key);
122- // if (result != ducks.end()) {
123- // std::cout << "Result: " << result->second << std::endl;
124- // }
119+ // // Find the element with the key "b"
120+ // std::string search_key = "b";
121+ // auto result = ducks.find(search_key);
122+ // if (result != ducks.end()) {
123+ // std::cout << "Result: " << result->second << std::endl;
124+ // }
125125template <class Key , class Value , class Hash = DefaultHashContainerHash<Key>,
126126 class Eq = DefaultHashContainerEq<Key>,
127127 class Alloc = std::allocator<std::pair<const Key, Value>>>
@@ -153,9 +153,9 @@ class ABSL_ATTRIBUTE_OWNER node_hash_map
153153 //
154154 // * Copy assignment operator
155155 //
156- // // Hash functor and Comparator are copied as well
157- // absl::node_hash_map<int, std::string> map4;
158- // map4 = map3;
156+ // // Hash functor and Comparator are copied as well
157+ // absl::node_hash_map<int, std::string> map4;
158+ // map4 = map3;
159159 //
160160 // * Move constructor
161161 //
0 commit comments