Return a reference to the mapped value for __key, inserting a default‐constructed value if the key is absent.

Synopsis

Declared in <bslstp_hashmap.h>

_Tp&
operator[](key_type const& __key);

Return Value

reference to the mapped value for __key

Parameters

Name

Description

__key

key whose mapped value is accessed

Created with MrDocs