boost::dynamic_bitset::to_number
Returns the numeric value corresponding to the bits in *this (zero if *this is empty).
Synopsis
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
template<typename T>
T
to_number() const;
Throws
std::overflow_error if that value is too large to be represented in T, i.e. if *this has any non‐zero bit at a position >= std::numeric_limits< T >::digits.
Return Value
The numeric value corresponding to the bits in *this.
Created with MrDocs