Why doesn't the spaceship operator allow me to perform an equality operation?

前端 未结 0 900
旧巷少年郎
旧巷少年郎 2021-01-07 06:25

Does anyone know why I’m getting a compiler error for the equality operation on a class that has a 3 way operator override? I\'m using VS 2019.

class Rectang         


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