operator & method

Logic operator &(
  1. Logic other
)

Logical bitwise AND.

Implementation

Logic operator &(Logic other) {
  if (other is Const) {
    return other & this;
  }

  return And2Gate(this, other).out;
}