Talk:Bit field
From Wikipedia, the free encyclopedia
I'm quite surprised about this statement:
unsigned int likesIceCream : 1;
I guess it means "create an unsigned int with the size of 1 bit", so would
unsigned int myVar : 4;
create a 4-bit unsigned int variable by the name myVar? Is this colon operator defined in the ANSI C standard? --Abdull 19:08, 26 January 2007 (UTC)
Isn't the first thing ("|= flag") a bitmask, and only the second thing ("unsigned int a:1") a bit field? exe 11:42, 10 June 2007 (UTC)

