class

RefCounted

Intrusive reference counting base

Module
Arc
Header
#include "Arc/Core/ArcMemory.h"
Namespace
Arcf

Constructors

SignatureNameDescription
RefCounted() = defaultRefCounted
virtual ~RefCounted() = default~RefCounted
RefCounted(const RefCounted&) : m_refCount(0)RefCounted

Public functions

ReturnsNameDescription
RefCounted&operator=
voidAddRef
voidRelease
uint32_tGetRefCount

Function details

RefCounted

C++
RefCounted() = default

~RefCounted

C++
virtual ~RefCounted() = default

RefCounted

C++
RefCounted(const RefCounted&) : m_refCount(0)

operator=

C++
RefCounted& operator=(const RefCounted&)

AddRef

C++
void AddRef() const

Release

C++
void Release() const

GetRefCount

C++
uint32_t GetRefCount() const
Generated from Arc/Core/ArcMemory.h via arc.json · Nov 5, 2026Version 1.0.0