Why 'covariant' is used when the method is not overridden?

后端 未结 0 867
面向向阳花
面向向阳花 2021-01-30 00:08

From here:

bool shouldReclip(covariant CustomClipper oldClipper);

AFAIK, the keyword covariant is used when you override a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题