Remove the specified link from the specified anchor.
Declared in <bslalg_hashtableimputil.h>
static
void
remove(
HashTableAnchor* anchor,
BidirectionalLink* link,
std::size_t hashCode);
Remove the specified link, having the specified (non-adjusted) hashCode, from the specified anchor. The behavior is undefined unless anchor is well-formed (see isWellFormed) for some combination of KEY_CONFIG and HASHER such that link refers to a node of type BidirectionalNode<KEY_CONFIG::ValueType> and HASHER(extractKey<KEY_CONFIG>(link)) returns hashCode.
| Name | Description |
|---|---|
| anchor | hash table from which to remove link |
| link | node to remove |
| hashCode | non-adjusted hash code of link |