No, it would be bitwise not of 0x40, then bitwise and with that result. The ~0x40 will almost certainly be computed at compile time rather than run time.
No, it would be bitwise not of 0x40, then bitwise and with that result. The ~0x40 will almost certainly be computed at compile time rather than run time.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)