Tools.h++ Manual
23-4 104011 Tandem Computers Incorporated
23
Related global functions
RWGBitVec(sz) operator&(const RWGBitVec(sz)& v1, const
RWGBitVec(sz)& v2);
RWGBitVec(sz) operator^(const RWGBitVec(sz)& v1, const
RWGBitVec(sz)& v2);
RWGBitVec(sz) operator|(const RWGBitVec(sz)& v1, const
RWGBitVec(sz)& v2);
Return the logical AND, XOR, and OR, respectively, of vectors
v1
and
v2
.
RWBoolean operator==(const RWGBitVec(sz)& v1, const
RWGBitVec(sz)& v2) const;
Returns
TRUE
if each bit of
v1
is set to the same value as the corresponding bit
in
v2
. Otherwise, returns
FALSE
.
RWBoolean operator!=(const RWGBitVec(sz)& v1, const
RWGBitVec(sz)& v2) const;
Returns
FALSE
if each bit of
v1
is set to the same value as the corresponding
bit in
v2
. Otherwise, returns
TRUE
.