Introduction — Why Moving Resources

When writing a program you will encounter a case where you need to move (large) resources around from one object to another.

In C++ we have move semantics which is a way to move resources to avoid making copies in the memory which not only will make our program slower but also use more space than necessary.

We are not discussing the Move Semantics here, because there are a lot of resources you can find on the internet explaining rvalues and Move Semantics.

#move-semantics #programming #coding #programming-languages #cpp

C++ Basics: Moving Resources
1.45 GEEK