出典:Wiktionary
出典:Wikipedia
出典:『Wikipedia』 (2011/07/21 17:03 UTC 版)
A bit field is a common idiom used in computer programming to compactly store multiple logical values as a short series of bits whereas each of the single bits can be addressed separately. A bit field is most commonly used to represent integral types of known, fixed bit-width. A well-known usage of bit-fields is to represent single bit flags with each flag stored in a separate bit.