3 ms·
Indeed, but I don't think that was the poster I was responding to was talking about? I mean, he/she was talking about bitfields and similar things and how writ
by lomnakkus 9y ago
Indeed, but I don't think that was the poster I was responding to was talking about?
I mean, he/she was talking about bitfields and similar things and how writes to those could be coalesced? In genreal, they cannot. (I dunno, it seemed appropriate to mention the caveats.)
- carlmr 9y agoNot coalescing writes on non-volatile bitfields probably isn't guaranteed by the standard. If you depend on it I hope you have a test catching that.
- AstralStorm 9y agoWhy use bit fields at all instead of straightforward bit math then? They're not really convenient and have weird alignment rules already.