Replies to message #3,996

  • 🔎 If you see an alert for analytics.usips.org, this is a self-hosted system I am running as a test. It is GDPR compliant and collects no invasive information.
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