Unlink the specified node from its bidirectional linked list.

Synopsis

Declared in <bslalg_bidirectionallinklistutil.h>

static
void
unlink(BidirectionalLink* node);

Description

Unlink the specified node from the linked list of which it is a member. After successful execution of this function the values of the previousLink and nextLink attributes of all the links in the origin and destination lists appropriately reflect the operation Note that this method does not change the value for the nextLink and previousLink attributes of node. The behavior is undefined unless !node‐>previousLink(), !node‐>nextLink(), or isWellFormed(node‐>previousLink(), node‐>nextLink()) are true.

Parameters

Name

Description

node

node to remove from the list

Created with MrDocs