Toy implementation of smart pointer using reference counter for smart de-allocation
-
Updated
Apr 29, 2019 - C++
Toy implementation of smart pointer using reference counter for smart de-allocation
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.
Self-learning on design patterns
Reference counted smart pointer for single-threaded enviroments.
Pointer type that acts like a std::unique_ptr, but that may or may not actually own its data.
Using GCPtr<T> to enable garbage collection in C++, just like smart pointers.
A C++ forward linkedlist implementation using the smart pointer
C++ smart pointer type with small buffer storage
School project in C++, making code for an emergency center
Implementation of an automatic memory reclamation system for C++.
Test utility for dependency injection when using std::unique_ptr class.
A lightweight flexible hierarchical memory manager for C++
Checked version of std::shared_ptr, provides custom exception handling mechanism on nullptr access.
A policy based Shared pointer design
An Arc (atomically reference counted smart pointer) that supports customized dropping strategies using Backdrop.
C++ Fast, Static and Generic Object Pool library with smart pointer
Proof of concept - std::enable_shared_from_this in Constructors and Destructors
Software Development II lab implemented using C++14 - providing exposure to further Object Oriented Programming (OOP) concepts and Smart Pointers
Coalesced reference counting smart pointer
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."