|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inline |
Construct a ScopeGuardAtomic for the specified item.
It is set to the "executionVal" value at this point. When the destructor is invoked, it is reset to its initial value.
| item | The item to be guarded. The type of this must be an instantiation of std::atomic |
| executionVal | The value that should be placed in the item when this constructed is executed. The type of this must be type used to instantiate std::atomic when constructing item. |
References drama::CreateRunDramaTask().