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

Set the predecessor of this node to be the specified `previous` link&period;

== Synopsis

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

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

== Parameters

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


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