[#BloombergLP-bdlb-BitStringUtil-find1AtMinIndex-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::find1AtMinIndex
:relfileprefix: ../../../
:mrdocs:

Return the index of the least&hyphen;significant 1 bit in the specified `bitString` having the specified `length`, if such a bit exists, and `k&lowbar;INVALID&lowbar;INDEX` otherwise&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;bitstringutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::size&lowbar;t
find1AtMinIndex(
    uint64&lowbar;t const* bitString,
    std::size&lowbar;t length);
----


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