Yeah. I once had to do stuff to code that had bit-fields like that and after a while, realised (by means of StackOverflow) that that part is UB and I had to go with bitwise operations instead.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: