[#BloombergLP-bslstl-HashTable-09-insertOrAssignTransparent] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable-09.adoc[HashTable<UnorderedMapKeyConfiguration<basic_string<char> const, pair<basic_string<char> const, Json>>, TransparentHash, TransparentEqualTo, allocator<pair<basic_string<char> const, Json>>>]::insertOrAssignTransparent :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class LOOKUP_KEY, class BDE_OTHER_TYPE> xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]* insertOrAssignTransparent( bool* isInsertedFlag, xref:BloombergLP/bslalg/BidirectionalLink.adoc[bslalg::BidirectionalLink]* hint, LOOKUP_KEY&& key, BDE_OTHER_TYPE&& obj) requires BloombergLP::bslmf::IsTransparentPredicate<HASHER, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,LOOKUP_KEY>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#