-
Book Overview & Buying
-
Table Of Contents
C++ Memory Management
By :
As you know, dear reader, C++ is known in the programming community as one of those languages that we use when we need to get the most out of our computer or whatever hardware platform interests us. Some of the language’s credos can be paraphrased as “you shall not pay for what you do not use” and “there shall be no room for a lower-level language (except for the occasional bit of assembly code)”, after all. The latter explains the importance of the std::start_lifetime_... functions of the previous section.
That’s probably why, when it becomes evident that we could do even better than we are already doing in terms of execution speed, that becomes a subject of interest to the C++ programmer community in general, and more specifically to members of the C++ standards committee. We all take these core credos of the language to heart.
One case where we could do better is when we encounter types for which moving a source...