
7 Dec
2010
7 Dec
'10
5:21 p.m.
On 7 December 2010 10:40, Jeffrey Lee Hellrung, Jr. <jhellrung@ucla.edu>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; bits.set(1); bits.set(3); bits.set(4); bits.set(5); Anything else would be terribly confusing. Note that this corresponds to "00111010".