![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UnrealTemplate.h>
Inheritance diagram for TScopeCounter< Type >:Public Member Functions | |
| TScopeCounter (Type &ReferenceValue) | |
| ~TScopeCounter () | |
Commonly used to make sure a value is incremented, and then decremented anyway the function can terminate. Usage: TScopeCounter<int32> BeginProcessing(ProcessingCount); // increments ProcessingCount, and decrements it in the dtor
|
inlineexplicit |
|
inline |