The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
HashMap.opApply
containers
hashmap
HashMap
Support for
foreach
(
key
,
value
;
aa
) { ... }
syntax;
int
opApply
(int delegate(const ref K, ref V) del)
int
opApply
(int delegate(const ref K, const ref V) del)
struct
HashMap
(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, bool storeHash = true)
const
int
opApply
(
int
delegate
(
const
ref
K
,
const
ref
V
)
del
)
int
opApply
(int delegate(ref V) del)
int
opApply
(int delegate(const ref V) del)
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
Support for foreach(key, value; aa) { ... } syntax;