Reference-counted smart pointer hierarchy. More...
Go to the source code of this file.
Classes | |
class | original::refCntPtr< TYPE, DERIVED, DELETER > |
Base class for reference-counted pointers. More... | |
class | original::strongPtr< TYPE, DELETER > |
Shared ownership smart pointer with strong references. More... | |
class | original::weakPtr< TYPE, DELETER > |
Non-owning reference to shared resource. More... | |
Namespaces | |
namespace | original |
Main namespace for the project Original. | |
Functions | |
template<typename T, typename DEL = deleter<T>, typename... Args> | |
strongPtr< T, DEL > | original::makeStrongPtr (Args &&... args) |
Creates a new strongPtr managing a shared object. | |
template<typename T, typename DEL = deleter<T[]>, typename... Args> | |
strongPtr< T, DEL > | original::makeStrongPtrArray (u_integer size, Args &&... args) |
Creates a new strongPtr managing a shared array. | |
Reference-counted smart pointer hierarchy.
Implements shared ownership semantics through strong/weak reference models. Base class provides common reference counting infrastructure, while derived classes implement specific ownership policies. Supports cyclic reference breaking through weak reference design.