Base class for reference-counted smart pointers. More...
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) | |
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.