Posts
![ClassIdioms](https://www.modernescpp.com/wp-content/uploads/2023/01/ClassIdioms.png)
Covariant Return Type
/
0 Comments
The Covariant Return Type of a member function allows an overriding member function to return a narrower…
![patterns](https://www.modernescpp.com/wp-content/uploads/2022/06/patterns.png)
The Proxy Pattern
The Proxy Pattern is probably the most influential design pattern for C++. The Proxy provides a placeholder…
![patterns](https://www.modernescpp.com/wp-content/uploads/2022/06/patterns.png)
The Bridge Pattern
The Bridge Pattern is a structural pattern. It decouples the interface from the implementation. In C++,…
![uniquePtr](https://www.modernescpp.com/wp-content/uploads/2016/12/uniquePtr.png)
std::unique_ptr
According to the RAII idiom, a std::unique_ptr manages automatically and exclusively the lifetime of…
![comparisonEng](https://www.modernescpp.com/wp-content/uploads/2016/12/comparisonEng.png)
Memory and Performance Overhead of Smart Pointers
C++11 offers four different smart pointers. I will have a closer look in this post regarding memory and…