Subject: Re: [Boost-users] max value by the number of bits
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-02-05 18:59:34


>
> low_bits_mask_t<Bits>::sig_bits is defined as
> (~( ~(unsigned_int(0u )) << Bits )) )
>
> which is equivalent to 2^Bits-1 without risk of overflow.
>

Vicente, what's unsigned_int?

Christian