Problem The following code shows the problem of a cyclic reference with shared pointers. When leaving the main function the
Continue readingCategory: Programming
Function pointer vs. std::function vs Function template
Showcase Code ▼ Compiler ▼ – Tool: godbolt.org – Compiler: x86-64 Clang 16.0.0 – Args: -std=c++20 – Output: Intel asm
Continue readingData structures – Overview (libstdc++)
The “C++ standard library” isn’t defining implementation details of the data structures, it just defines their behavior. The libstdc++ is
Continue readingSmart Pointer (C++)
Especially in older C++ programms it was very common to work with a lot of raw pointer (legacy pointer). That
Continue reading