Return an unsigned long value that has the same bit value as the bitset. Note that the behavior is undefined if the bitset cannot be represented as an unsigned long.
unsigned
long
Declared in <bslstl_bitset.h>
<bslstl_bitset.h>
unsigned long to_ulong() const;