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

Base class for reference-counted smart pointers. More...

#include "config.h"
#include "printable.h"
#include "comparable.h"
#include "error.h"
Include dependency graph for autoPtr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  original::autoPtr< TYPE, DERIVED, DELETER >
 Base smart pointer with reference counting. More...
 
class  original::refCount< TYPE, DELETER >
 Reference counting metadata container. More...
 

Namespaces

namespace  original
 Main namespace for the project Original.
 

Functions

template<typename T, typename DER, typename DEL>
bool original::operator== (const autoPtr< T, DER, DEL > &ptr, const std::nullptr_t &null)
 Equality comparison with nullptr.
 
template<typename T, typename DER, typename DEL>
bool original::operator!= (const autoPtr< T, DER, DEL > &ptr, const std::nullptr_t &null)
 Inequality comparison with nullptr.
 
template<typename T, typename DER, typename DEL>
bool original::operator== (const std::nullptr_t &null, const autoPtr< T, DER, DEL > &ptr)
 Equality comparison with nullptr (reversed operands)
 
template<typename T, typename DER, typename DEL>
bool original::operator!= (const std::nullptr_t &null, const autoPtr< T, DER, DEL > &ptr)
 Inequality comparison with nullptr (reversed operands)
 

Detailed Description

Base class for reference-counted smart pointers.

Implements core functionality for automatic memory management using reference counting. Supports strong/weak references and custom deleters. Inherits printable and comparable interfaces for debugging and comparison.