
7 Dec
2010
7 Dec
'10
9:24 a.m.
On Tue, Dec 7, 2010 at 9:11 AM, Winkler, Bernd < Bernd.Winkler@ipa.fraunhofer.de> wrote:
Bitset<8> flag_pattern; //initialisation to "00000000" flag_pattern += 1,3,4,5; //set bits at indices 1,3,4,5 to true: 01011100
Doesn't the interpretation of that depend on the endianness of your architechture? I would have expected Bitset<8> flag_pattern; //initialisation to "00000000"
flag_pattern += 1,3,4,5; //set bits at indices 1,3,4,5 to true: 00111010
- Rob.