bsl::bitset::to_ulong

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.

Synopsis

Declared in <bslstl_bitset.h>

unsigned long
to_ulong() const;