Return the value for Key, inserting a default‐constructed value if absent.
Synopses
Declared in <llvm/ADT/DenseMap.h>
Return the value for Key, inserting a default‐constructed value if absent.
ValueT&
operator[](KeyT const& Key);
Return the value for Key, inserting a default‐constructed value if absent.
ValueT&
operator[](KeyT&& Key);
Return Value
Reference to the mapped value for Key.
Parameters
Name |
Description |
Key |
Key to look up or insert. |
Created with MrDocs