Castor3D 0.16.0
Multiplatform 3D engine
|
Class used to execute code at scope exit. More...
#include <ScopeGuard.hpp>
Public Member Functions | |
ScopeGuard (ScopeExitFuncType const &function) | |
Constructor. | |
ScopeGuard (ScopeGuard const &rhs)=delete | |
Copy Constructor. | |
ScopeGuard (ScopeGuard &&rhs) noexcept=default | |
Move Constructor. | |
~ScopeGuard () noexcept | |
Destructor. | |
ScopeGuard & | operator= (ScopeGuard const &rhs)=delete |
Copy Constructor. | |
ScopeGuard & | operator= (ScopeGuard &&rhs) noexcept=default |
Move Constructor. | |
Class used to execute code at scope exit.
|
inlineexplicit |
Constructor.
[in] | function | The function. |
|
delete |
Copy Constructor.
[in] | rhs | The object to copy. |
|
defaultnoexcept |
Move Constructor.
[in] | rhs | The object to move. |
|
inlinenoexcept |
Destructor.
|
defaultnoexcept |
Move Constructor.
[in] | rhs | The object to move. |
|
delete |
Copy Constructor.
[in] | rhs | The object to copy. |