The Rule of The Big Four (and a half) – Move Semantics and Resource Management—Glennan Carnie

Save to:
Instapaper Pocket Readability

In this article author discusses the cost of copying and how move semantics help to manage the resources in an efficent manner.

Move Semantics and Resource Management

In the previous article we looked at the issues of resource management in C++ and introduced “The Rule of The Big Three (and a half)”. In this article we’ll extend this concept by looking at the idea of move semantics, a feature introduced in C++11. Move semantics mean we’ll have to extend our rule to “The Rule of The Big Five” or, perhaps more correctly, “The Rule of The Big Four (and a half)”

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.