cpp/utility/bitset/to ulong

Converts the contents of the bitset to an integer.

The first bit of the bitset corresponds to the least significant digit of the number and the last bit corresponds to the most significant digit.

Parameters
(none)

Return value
the converted integer

Exceptions
throws std if the value can not be represented in.