How should I implement overloaded operators so they work properly when new subclasses are added?

前端 未结 0 338
天命终不由人
天命终不由人 2020-12-29 21:39

If I have a class B, I can add support for subtracting two instances of B and, for debugging purposes, return a string giving the types of the valu

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