Posts

sharedPtr

std::shared_ptr

/
std::shared_ptr's share the resource. The shared reference counter counts the number of owners. Copying…
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…
RessourcenmanagementEng

Careful Handling of Resources

/
The careful handling of resources - may it be, for example, memory, files, or sockets - is a key concern…