[#BloombergLP-bslalg-BidirectionalLinkListUtil-insertLinkAfterTarget] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/BidirectionalLinkListUtil.adoc[BidirectionalLinkListUtil]::insertLinkAfterTarget :relfileprefix: ../../../ :mrdocs: Insert the specified `newNode` after the specified `target` node in the linked list that contains `target`. If the node following `target` is 0, then set the `nextLink` attribute of `newNode` to 0. After successful execution of this function the values of the `previousLink` and `nextLink` attributes of all the links in the list appropriately reflect the operation. The behavior is undefined unless `0 != newNode` and `0 != target`. The behavior is also undefined unless `0 == target‐>nextLink()` is true or `isWellFormed(target, target‐>nextLink())` are true. == Synopsis Declared in `<bslalg_bidirectionallinklistutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void insertLinkAfterTarget( xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* newNode, xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* target); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#