Virtual comparison operator

后端 未结 0 756
甜味超标
甜味超标 2020-12-06 23:51

Is there any reason to make the op== in a C++ base class non-virtual, i.e., is there any downside to this implementation:

class A { public: virtual bool opera         


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