[Solved] I can’t get enum class operators to work

[ad_1]

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
}

[ad_2]

solved I can’t get enum class operators to work