Insert/update a key value pair On success returns a pointer to the inserted entry, nullptr otherwise. NOTE: when Insert() returns nullptr, the copy/move constructor of `V` may not be called.
| 211 | // NOTE: when Insert() returns nullptr, the copy/move constructor of `V` may |
| 212 | // not be called. |
| 213 | Entry* Insert(const K& key, const V& value, const H& hasher = H(), |
| 214 | const E& eq = E()) { |
| 215 | return DoEmplace(key, hasher, eq, value); |
| 216 | } |
| 217 | |
| 218 | Entry* Insert(const K& key, V&& value, const H& hasher = H(), |
| 219 | const E& eq = E()) { |
nothing calls this directly
no outgoing calls
no test coverage detected