Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Define a scoped reset state data type. More...
#include <finally.h>
Public Member Functions | |
template<typename Func > | |
Finally (Func &&func) | |
Initialises a new instance of the Finally class. More... | |
Finally (const Finally &)=delete | |
Finally (Finally &&)=delete | |
Finally & | operator= (const Finally &)=delete |
Finally & | operator= (Finally &&)=delete |
~Finally () | |
Destroys a Finally instance. More... | |
Define a scoped reset state data type.
F | The function to reset |
Initialises a new instance of the Finally class.
Func | Functor type |
func | The functor instance |
|
delete |
|
delete |
|
inline |
Destroys a Finally instance.
|
delete |
|
delete |