Adds a key and its value, or finds an existing key (and doesn't change it). Returns a reference to the entry, and a flag that's true if it's newly added.
| 52 | /// Adds a key and its value, or finds an existing key (and doesn't change it). |
| 53 | /// Returns a reference to the entry, and a flag that's true if it's newly added. |
| 54 | insertResult insert(key_t key, value_t value) {return insert(key, value, hashCode(key));} |
| 55 | insertResult insert(key_t key, value_t value, hash_t); |
| 56 | |
| 57 | /// Faster version of \ref insert that only inserts new keys. |