A binary operator member should only take one parameter, the right-hand argument – the left-hand argument is *this
.
template<int NMAX>
typename FastOut<NMAX>::Flags FastOut<NMAX>::operator&(Flags rhs) const
{
// Return *this & rhs
}
solved I can’t get enum class operators to work