Remove the specified link from the specified anchor.
Synopsis
Declared in <bslalg_hashtableimputil.h>
static
void
remove(
HashTableAnchor* anchor,
BidirectionalLink* link,
std::size_t hashCode);
Description
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.
Parameters
Name |
Description |
anchor |
hash table from which to remove |
link |
node to remove |
hashCode |
non‐adjusted hash code of |
Created with MrDocs