Commonly used to make sure a value is incremented, and then decremented anyway the function can terminate. 更多...
#include <UnrealTemplate.h>
类 TScopeCounter< Type > 继承关系图: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