Copy constructor and move constructor are different. The Copy constructor creates a fresh copy of resources…
Tag: move constructor
Rule of Three
Rule of three corresponds to automatic generation of 3 special member functions – constructor, destructor and…
What is move constructor and why it take r-value?
Since, C++11, apart from existing compiler generated functions 2 more special functions are generated , these…