operator & method

int operator &(
  1. ItemState item
)

Implementation

int operator & (ItemState item){
  return value & item.value;
}