Boost logo

Boost :

Subject: Re: [boost] [assign] operators+= and -= for set/reset bits in std::bitset
From: Duncan Exon Smith (duncanphilipnorman_at_[hidden])
Date: 2010-12-07 12:21:17

On 7 December 2010 10:40, Jeffrey Lee Hellrung, Jr. <jhellrung_at_[hidden]>wrote:

> I would usually consider "set bit at indices 1,3,4,5 to true" to yield
> "00111010", but it depends which direction you like to write your bitset
> bits...
> - Jeff

It should have the same effect as:
 bitset<8> bits;

Anything else would be terribly confusing. Note that this corresponds to

Boost list run by bdawes at, gregod at, cpdaniel at, john at