![myNew](https://www.modernescpp.com/wp-content/uploads/2016/12/myNew.png)
Overloading Operator new and delete 1
/
0 Comments
It happens quite too often that a C++ application allocates memory but doesn't deallocate it. This is…
![](https://www.modernescpp.com/wp-content/uploads/2016/12/board-22098_1280-495x400.jpg)
Explicit Memory Management
Explicit memory management has in C++ a high complexity but also provides great functionality. Sadly,…
![raii](https://www.modernescpp.com/wp-content/uploads/2016/12/raii.png)
Garbage Collection – No Thanks
C++ is old-fashioned. C++ has no garbage collection. No garbage collection? Right! Old fashioned? Wrong!
What…
![perfectForwarding1](https://www.modernescpp.com/wp-content/uploads/2016/12/perfectForwarding1.png)
Perfect Forwarding
Today, we solve " ... a herefore unsolved problem in C++" (Bjarne Stroustrup). To make the long story…
![RainerGrimmSmall](https://www.modernescpp.com/wp-content/uploads/2016/04/RainerGrimmSmall.png)
Time for Wishes
I wrote more than 130 posts in my German blog about functional programming, embedded programming and…
![moveAlgorithm](https://www.modernescpp.com/wp-content/uploads/2016/12/moveAlgorithm.png)
Move Semantis: Two Nice Properties
I will talk about two nice properties of the move semantic in this post that is not so often mentioned.…
![copy](https://www.modernescpp.com/wp-content/uploads/2016/12/copy.jpg)
Copy versus Move Semantics: A few Numbers
A lot was written about the advantages of move semantics to copy semantics. Instead of an expensive copy…
![sizeof](https://www.modernescpp.com/wp-content/uploads/2016/12/sizeof.png)
std::array – Dynamic Memory, no Thanks
std::array combines the best of two worlds. On the one hand, std::array has the size and efficiency of…
![stringAndVector](https://www.modernescpp.com/wp-content/uploads/2016/12/stringAndVector.png)
Automatic Memory Management of the STL Containers
One of the significant advantages of a C++ string to a C string and of a std::vector to a C array is…
![weakPtr](https://www.modernescpp.com/wp-content/uploads/2016/12/weakPtr.png)
std::weak_ptr
std::unique_ptr models the concept of exclusive ownership, std::shared_ptr the concept of shared ownership.…