[#absl-linked_hash_map-operator_subs-0a]
= xref:absl.adoc[absl]::xref:absl/linked_hash_map.adoc[linked&lowbar;hash&lowbar;map]::operator&lsqb;&rsqb;
:relfileprefix: ../../
:mrdocs:

Returns a reference to the value mapped to the given key, inserting a default&hyphen;constructed value if the key is not present&period;

== Synopses

Declared in `&lt;absl&sol;container&sol;linked&lowbar;hash&lowbar;map&period;h&gt;`

Returns a reference to the value mapped to the given key, inserting a default&hyphen;constructed value if the key is not present&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class K = xref:absl/linked_hash_map/key_type.adoc[key&lowbar;type]&gt;
xref:absl/linked_hash_map/mapped_type.adoc[mapped&lowbar;type]&
xref:absl/linked_hash_map/operator_subs-09.adoc[operator&lsqb;&rsqb;](xref:absl/linked_hash_map.adoc[key&lowbar;arg&lt;K&gt;] const& key);
----

[.small]#xref:absl/linked_hash_map/operator_subs-09.adoc[_» more&period;&period;&period;_]#

Returns a reference to the value mapped to the given key, inserting a default&hyphen;constructed value if the key is not present&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class K = xref:absl/linked_hash_map/key_type.adoc[key&lowbar;type],
    K* = nullptr&gt;
xref:absl/linked_hash_map/mapped_type.adoc[mapped&lowbar;type]&
xref:absl/linked_hash_map/operator_subs-05.adoc[operator&lsqb;&rsqb;](xref:absl/linked_hash_map.adoc[key&lowbar;arg&lt;K&gt;]&& key);
----

[.small]#xref:absl/linked_hash_map/operator_subs-05.adoc[_» more&period;&period;&period;_]#

== Return Value

A reference to the mapped value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| The key to look up&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
