HybridHashMap.rehashingRemoveN

Remove all elements matching keys followed by a rehash.

struct HybridHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), Allocator = Mallocator, Options options = Options.init)
version(none)
static if(!options.growOnly)
size_t
rehashingRemoveN
(
Keys
)
(
in Keys keys
)
if (
isRefIterable!Keys &&
is(typeof(Keys.front == K.init))
)
if (
isAllocator!Allocator
)

Return Value

Type: size_t

number of elements that were removed.

Meta