A class:
class foo{ public: int data; };
Now I want to add a method to this class, to do some comparison, to see if its data is equal to on
If data, num1, .. num6 are between 0 and 31, then you can use
int match = ((1<
If num1 to num6 are constants, the compiler will compute match at compile time.