|
HDK
|
#include <scoped.h>
Public Member Functions | |
| TfScopedVar (T &x, const T &val) | |
| ~TfScopedVar () | |
Reset variable on exiting scope.
A TfScopedVar sets a variable to a value when created then restores its original value when destroyed. For example:
|
inlineexplicit |
|
inline |