Replies to message #3,996

  • 🔧 Chat is under maintenance.
    🧊 New server is in an office waiting on a mexican.
Rusty Metal Skull Gun

Programming thread

I think every instance I've used it has been in conjunction with a bitwise AND. So a &= ~b does the opposite of a |= b.
polyester

Programming thread

A reasonably common use-case for ~ would be clearing a specific bit of a bit field, as the unsetBit member function does in this class: class...
Back
Top Bottom