The OpenD Programming Language

TreeMap.remove

Removes the key→value mapping for the given key.

struct TreeMap(K, V, Allocator = Mallocator, alias less = "a < b", bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, size_t cacheLineSize = 64)
bool
remove
(
const K key
)

Return Value

Type: bool

true if the key existed in the map

Meta