$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] max value by the number of bits
From: TONGARI (tongari95_at_[hidden])
Date: 2013-02-05 10:43:19
2013/2/5 Christian Henning <chhenning_at_[hidden]>
> >> Is there a better way in boost?
> >
> >
> > Try boost::low_bits_mask_t
> > http://tinyurl.com/bcy22xf
> >
>
> Mhmm, I don't see how that works. How do I get the max value from a
> low_bit_mask_t? It should be 2^n-1 with n being the number the bits.
>
low_bits_mask_t<n>::sig_bits
Not?