Copy constructor and assignment operators with polymorphism

前端 未结 0 746
独厮守ぢ
独厮守ぢ 2021-01-22 04:06

Just failed an interview because of this, and I\'m still confused:

class A
{
public:
    A(int a) : a_(a) {}
    
    // Copy constructor
    
    // Assignment o         


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