OpenHashMap.rehashingRemoveN

Remove all elements matching keys followed by a rehash.

struct OpenHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), alias Allocator = Mallocator.instance, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false)
version(none)
size_t
rehashingRemoveN
(
Keys
)
(
const scope Keys keys
)
if (
isRefIterable!Keys &&
is(typeof(Keys.front == K.init))
)

Return Value

Type: size_t

number of elements that were removed.

Meta