Added by: ~guest, 2010 VIII 08
Added by: ~guest, 2010 VIII 08
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...
Added by: tomek, 2010 VIII 09
I have forgotten about these operators, temporarily you can use BitAnd() method. The operators will be added in a next release.
Added by: ~guest, 2010 VIII 12
Ok, thanks