small step further in converting enum Repeat into enum class

not there yet, as at least overloaded operators for |, &, |=, &= and ~
would be needed to make this fully working. This may not be worth the
price...