[#BloombergLP-bslalg-BidirectionalLink-setNextLink]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]::setNextLink
:relfileprefix: ../../../
:mrdocs:

Set the successor of this node to be the specified `next` link&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;bidirectionallink&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setNextLink(xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* next);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *next*
| successor node, or 0 if this node has no successor
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
