removeAllMatching

Remove all elements in x matching pred.

TODO: make this generic for all iterable containers and move to container/common.d.

@safe @trusted
size_t
removeAllMatching
(
alias pred
SomeMap
)
(
auto ref SomeMap x
)
if (
is(SomeMap == HybridHashMap!(_),
_...
) &&
is(typeof((unaryFun!pred)))
)

Meta