
4 Jun
2006
4 Jun
'06
5:37 a.m.
succ.clear(); size_t numblock = m_N/BitSet::bits_per_block; vectorBitSet::block_type first_blocks(numblock); for(size_t i=0; i
> i) & 0x1) succ.set(numblock*BitSet::bits_per_block+i); }
When I think again about this, the special treatment of the last block
is unnecessary, and because succ is already allocated, the following
code is clearer:
vectorBitSet::block_type blocks(succ.num_blocks());
for(size_t i=0; i