![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RefCounting.h>
Public Member Functions | |
| FReturnedRefCountValue (uint32 InRefCount) | |
| FReturnedRefCountValue (const FReturnedRefCountValue &Other)=default | |
| FReturnedRefCountValue (FReturnedRefCountValue &&Other)=default | |
| FReturnedRefCountValue & | operator= (const FReturnedRefCountValue &Other)=default |
| FReturnedRefCountValue & | operator= (FReturnedRefCountValue &&Other)=default |
| operator uint32 () const | |
| void | CheckAtLeast (uint32 N) const |
Simple wrapper class which holds a refcount; emits a deprecation warning when accessed.
It is unsafe to rely on the value of a refcount for any logic, and a non-deprecated getter function should never be added. In a multi-threaded context, the refcount could change after inspection. In a transactional context, the refcount may be higher than expected, as releases are deferred until completion of the transaction.
|
inlineexplicit |
|
default |
|
default |
|
inline |
|
default |
|
default |