Safe operator= implementation in C++

后端 未结 0 1749
你的背包
你的背包 2020-12-04 00:18

I wrote the following code:

node *first = nullptr;
node *last = nullptr;

linked_list &operator=(const linked_list &l_list) {
         


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