Bitwise AND operator?
Is there a way to use bitwise AND? When I try the following:
Int<2> var;
if (var & 1) ....
I get the compiler error:
error: no match for operator& in var &
But for some reason bitwise shift right and left work fine...
I have forgotten about these operators, temporarily you can use BitAnd() method. The operators will be added in a next release.
Ok, thanks