![]() |
Raven Engine v0.1
|
Reference-counted smart pointer for managing object lifetimes. More...
Classes | |
| class | Raven::Ref< T > |
| Atomic reference-counted pointer. More... | |
Namespaces | |
| namespace | Raven |
Functions | |
| template<typename T, typename... Args> | |
| constexpr Ref< T > | Raven::CreateRef (Args &&... args) |
| Helper to create a Ref<T> by allocating with rnew. | |
Reference-counted smart pointer for managing object lifetimes.
Implements a thread-safe, atomic reference-counted wrapper for raw pointers. Supports copy, move, and type-safe conversions between compatible Ref types. Integrates with Raven's memory tracking and uses rnew/rdelete for allocations.