The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
HashMap.clear
containers
hashmap
HashMap
Removes all items from the map
struct
HashMap
(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, bool storeHash = true)
void
clear
(
)
Meta
Source
See Implementation
containers
hashmap
HashMap
aliases
opSlice
constructors
this
functions
byKey
byKeyValue
byValue
clear
containsKey
empty
get
getOrAdd
keys
length
opApply
opBinaryRight
opIndex
opIndexAssign
remove
values
Removes all items from the map