HybridHashMap.remove

Remove element.

struct HybridHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), Allocator = Mallocator, Options options = Options.init)
scope
static if(!options.growOnly)
bool
remove
(
SomeKey
)
(
in SomeKey key
)
if (
isAllocator!Allocator
)

Return Value

Type: bool

true if element was removed, false otherwise.

Meta