|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inline |
Construct a ScopeGuard for the specified item.
It is set to the "executionVal" value at this point. When the destructor is invoked, it is set to the specified exitVal value.
| item | The item to be guarded. |
| executionVal | The value that should be placed in the item when this constructed is executed. |
| exitVal | The value to be put in the item when this object is destroyed. |
References drama::CreateRunDramaTask().