Common interface for creating smart pointer instances of C++ classes
-
Updated
Feb 3, 2016 - C++
Common interface for creating smart pointer instances of C++ classes
Smart pointers prevent most situations of memory leaks by making the memory deallocation automatic.
A pointer that allows to store state into unused bits of the address.
Software Development II lab implemented using C++14 - providing exposure to further Object Oriented Programming (OOP) concepts and Smart Pointers
A policy based Shared pointer design
Proof of concept - std::enable_shared_from_this in Constructors and Destructors
Pointer type that acts like a std::unique_ptr, but that may or may not actually own its data.
Sample implementation of some design patterns in C++ language
Polymorphic decorators composing C++ standard containers
A simple game engine written in C++.
C++ Fast, Static and Generic Object Pool library with smart pointer
Toy implementation of smart pointer using reference counter for smart de-allocation
Smart pointer for any movable objects. When trackable object moved/destroyed, trackers updated with new object's pointer.
This is to demonstrates how shared_ptr can be smart enough to use as RAII in different scenarios other than just memory management. In this demo, we use it for closing file descriptor in normal and exception conditions.
Add a description, image, and links to the smart-pointer topic page so that developers can more easily learn about it.
To associate your repository with the smart-pointer topic, visit your repo's landing page and select "manage topics."