News

Pointers are a powerful feature in C and C++, but they come with risks that can lead to serious issues like NULL pointer crashes. By following these best practices—initializing pointers, checking for ...
C++11 smart pointers are a leap in the right direction for dynamic memory management. Shared_ptrs implement reference counting. Weak_ptrs complement them before circular references. Nonetheless, ...
Delegates are type safe function pointers *with an optional this pointer* thus no need to pass one round yourself. Obviously their utility is much enhanced in contract to C++ by virtue of being ...