phobos-next v0.5.1 (2022-12-21T17:07:30Z)
Home
Dub
Repo
removeAllMatching
nxt
sso_hashmap_or_hashset
Remove all elements in
x
matching
predicate
. TODO: move to container/common.d.
@
trusted
void
removeAllMatching
(
alias
predicate
SomeMap
)
(
auto
ref
SomeMap
x
)
if
(
is
(
SomeMap
==
SSOHashMapOrSet
!(
_
),
_
...
)
)
Meta
Source
See Implementation
nxt
sso_hashmap_or_hashset
aliases
SSOHashMap
SSOHashSet
range
enums
MapInsertionStatus
SetInsertionStatus
functions
byElement
filtered
intersectWith
intersectedWith
removeAllMatching
structs
SSOHashMapOrSet
Remove all elements in x matching predicate. TODO: move to container/common.d.