[#BloombergLP-bdlb-BitUtil-numBitsSet-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::numBitsSet
:relfileprefix: ../../../
:mrdocs:

`numBitsSet` overloads

== Synopses

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

Return the number of 1 bits in the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlb/BitUtil/numBitsSet-0c.adoc[numBitsSet](unsigned int value);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/numBitsSet-0c.adoc[_» more&period;&period;&period;_]#

Same as the `unsigned int` overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlb/BitUtil/numBitsSet-0e.adoc[numBitsSet](unsigned long value);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/numBitsSet-0e.adoc[_» more&period;&period;&period;_]#

Same as the `unsigned int` overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlb/BitUtil/numBitsSet-09.adoc[numBitsSet](unsigned long long value);
----

[.small]#xref:BloombergLP/bdlb/BitUtil/numBitsSet-09.adoc[_» more&period;&period;&period;_]#


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