https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65299 --- Comment #2 from Im ieee <ieee at bk dot ru> --- I have a mistake, ICC also rejects the code: "C::operator++" (ambiguous by inheritance) operand types are: C ++ c++; ^