ORIGINAL
All Classes Namespaces Files Functions Variables Typedefs Friends Pages Concepts
refCntPtr.h File Reference

Reference-counted smart pointer hierarchy. More...

#include "autoPtr.h"
#include "deleter.h"
Include dependency graph for refCntPtr.h:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

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.