Boost logo

Boost Users :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-04 13:47:17


On Sat, 03 Jun 2006 16:03:57 +0200, Gennaro Prota
<gennaro_prota_at_[hidden]> wrote:

>[...]
>you might try this:
>
> typedef UINT block_type;
> boost::dynamic_bitset<block_type> succ; /* no resizing needed */
>
> // (assuming m_N is a multiple of the UINT width, i.e. 32)
> for(UINT i=1; i <= m_N / (block + 1); ++i)
> {
> [...]

Of course, it should be "block", not "block + 1", here and in the
other reply I gave at first. Sorry for the oversight.

--Gennaro.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net