Same as the unsigned int overload.

Synopsis

Declared in <bdlb_bitutil.h>

static
int
numBitsSet(unsigned long value);

Return Value

number of 1 bits in value

Parameters

Name

Description

value

value whose set bits are counted

Created with MrDocs