[#BloombergLP-bslalg-HashTableImpUtil-bucketContainsLink]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableImpUtil.adoc[HashTableImpUtil]::bucketContainsLink
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified `linkAddress` is the address of one of the links in the list of elements in the closed range `&lsqb;bucket&period;first(), bucket&period;last()&rsqb;`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
bucketContainsLink(
    xref:BloombergLP/bslalg/HashTableBucket.adoc[HashTableBucket] const& bucket,
    xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* linkAddress);
----

== Return Value

`true` if `linkAddress` is in the bucket&apos;s element range

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bucket*
| bucket whose element range to search
| *linkAddress*
| link to test for membership in `bucket`
|===


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