[#BloombergLP-bdlb-BitStringUtil-find1AtMaxIndex-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::find1AtMaxIndex :relfileprefix: ../../../ :mrdocs: `find1AtMaxIndex` overloads == Synopses Declared in `<bdlb_bitstringutil.h>` Return the index of the most‐significant 1 bit in `bitString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::size_t xref:BloombergLP/bdlb/BitStringUtil/find1AtMaxIndex-0c.adoc[find1AtMaxIndex]( uint64_t const* bitString, std::size_t length); ---- [.small]#xref:BloombergLP/bdlb/BitStringUtil/find1AtMaxIndex-0c.adoc[_» more..._]# Return the index of the most‐significant 1 bit in a range. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::size_t xref:BloombergLP/bdlb/BitStringUtil/find1AtMaxIndex-0e.adoc[find1AtMaxIndex]( uint64_t const* bitString, std::size_t begin, std::size_t end); ---- [.small]#xref:BloombergLP/bdlb/BitStringUtil/find1AtMaxIndex-0e.adoc[_» more..._]# == Return Value index of the most‐significant 1 bit, or `k_INVALID_INDEX` == Parameters [cols="1,4"] |=== | Name| Description | *bitString* | bit string to search | *length* | number of bits in `bitString` | *begin* | inclusive start of the search range | *end* | exclusive end of the search range |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#