you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago (2 children)

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.

  • source
  • parent
  • hideshow 2 child comments