Reference counted smart pointer for single-threaded enviroments.
-
Updated
Dec 20, 2021 - C++
Reference counted smart pointer for single-threaded enviroments.
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.
A C++ forward linkedlist implementation using the smart pointer
C++ smart pointer type with small buffer storage
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 sampling of inheritance, friend functions, and pointers
A policy based Shared pointer design
C++ Fast, Static and Generic Object Pool library with smart pointer
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.
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
An Arduino library containing smart pointers, such as shared_ptr and unique_ptr.
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."