Posts

ClassIdioms

Covariant Return Type

/
The Covariant Return Type of a member function allows an overriding member function to return a narrower…
patterns

The Proxy Pattern

/
The Proxy Pattern is probably the most influential design pattern for C++. The Proxy provides a placeholder…
patterns

The Bridge Pattern

/
The Bridge Pattern is a structural pattern. It decouples the interface from the implementation. In C++,…
uniquePtr

std::unique_ptr

/
According to the RAII idiom, a std::unique_ptr manages automatically and exclusively the lifetime of…
comparisonEng

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…