Is there a way in C++ to deep copy only required variables in CCTOR?

后端 未结 0 827
予麋鹿
予麋鹿 2021-02-10 07:03

I have a class that has multiple member variables, among which only one is a pointer that requires deep copying. Because of this single pointer I need to define my custom CCTOR

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