Boost logo

Boost :

From: Damien Fisher (damien_at_[hidden])
Date: 2002-06-12 23:28:37


On Thu, 13 Jun 2002, Damien Fisher wrote:

> bs[5] = 0; // set 6th bit to 0
> dyn_bitset::iterator itr1 = bs[5];
> dyn_bitset::iterator itr2 = bs[5];

Sigh. Someday I will not write braindead code in e-mails.

Obvioulsy this should be:

dyn_bitset::iterator itr1 = bs.begin() + 5;
dyn_bitset::iterator itr2 = bs.begin() + 5;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk