[#BloombergLP-bslalg-HashTableAnchor-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableAnchor.adoc[HashTableAnchor]::HashTableAnchor
:relfileprefix: ../../../
:mrdocs:

Create a `bslalg&colon;&colon;HashTableAnchor` object having the specified `bucketArrayAddress`, `bucketArraySize`, and `listRootAddress` attributes&period; The behavior is undefined unless `bucketArrayAddress` refers to a contiguous sequence of valid `bslalg&colon;&colon;HashTableBucket` objects of at least `bucketArraySize` or unless both `bucketArrayAddress` and `bucketArraySize` are 0&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
HashTableAnchor(
    xref:BloombergLP/bslalg/HashTableBucket.adoc[HashTableBucket]* bucketArrayAddress,
    std::size&lowbar;t bucketArraySize,
    xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* listRootAddress);
----


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