Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Sets a variable on construction, and restores its previous value on destruction.
| Name | scoped_guard |
| Type | struct |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Parser/VerseGrammar.h |
| Include Path | #include "uLang/Parser/VerseGrammar.h" |
Syntax
template<typename t>
struct scoped_guard
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
scoped_guard
(
t& _guard_variable, |
uLang/Parser/VerseGrammar.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~scoped_guard() |
uLang/Parser/VerseGrammar.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| guard_variable | t * | uLang/Parser/VerseGrammar.h | ||
| old_value | t | uLang/Parser/VerseGrammar.h |