Shaka Player Embedded
|
#include <utils.h>
Public Member Functions | |
Finally (std::function< void()> call) | |
Finally (const Finally &)=delete | |
Finally (Finally &&)=delete | |
~Finally () | |
Public Attributes | |
std::function< void()> | call_ |
A helper type that accepts a function in the constructor and calls that method in the destructor. This can be used to execute code whether or not an exception has been thrown.
|
inlineexplicit |
|
delete |
|
delete |