operator & method

Flags<T> operator &(
  1. Flags<T> other
)

Return a set of flags that has all the flags set in both this and other.

Implementation

Flags<T> operator &(Flags<T> other) => Flags(value & other.value);