CAlive will introduce the
!& operator, which is the equivalent of doing a bit test on the lvalue and having
true be reported if it doesn't match.
// Traditional code, test i against bits 101 being NOT turned on
if (!(i & 5))
// Code here
// Using !& operator:
if (i !& 5)
// Code here
--
Rick C. Hodgin