[#absl-linked_hash_map-try_emplace-02d] = xref:absl.adoc[absl]::xref:absl/linked_hash_map.adoc[linked_hash_map]::try_emplace :relfileprefix: ../../ :mrdocs: Constructs an element in place if the key is not present, ignoring the position hint. == Synopsis Declared in `<absl/container/linked_hash_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class K = xref:absl/linked_hash_map/key_type.adoc[key_type], typename... Args> xref:absl/linked_hash_map/iterator.adoc[iterator] try_emplace( xref:absl/linked_hash_map/const_iterator.adoc[const_iterator] hint, xref:absl/linked_hash_map.adoc[key_arg<K>] const& key, Args&&... args); ---- == Return Value An iterator to the inserted or existing element. == Parameters [cols="1,4"] |=== | Name| Description | *key* | The key to insert or look up. | *args* | The arguments used to construct the mapped value. | *hint* | A position hint, which is ignored. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#