If a key equivalent to the specified key already exists in this hash-table, assign the specified obj to the value associated with that key, load false into the specified isInsertedFlag and return a pointer to the existing entry. Otherwise, insert into this hash-table a newly-created value_type object, constructed from key and obj, load true into isInsertedFlag, and return a pointer to the newly-created entry. Use the optionally specified hint as a starting place for the search for the existing key.
Declared in <bslstl_hashtable.h>
template<
class KEY_ARG,
class BDE_OTHER_TYPE>
bslalg::BidirectionalLink*
insertOrAssign(
bool* isInsertedFlag,
bslalg::BidirectionalLink* hint,
KEY_ARG&& key,
BDE_OTHER_TYPE&& obj);