|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/util/ScopeGuard.h>
Public Member Functions | |
| ScopeGuard (CB cb) noexcept(noexcept(std::move(cb))) | |
| ScopeGuard (const ScopeGuard &)=delete | |
| ScopeGuard (ScopeGuard &&other)=delete | |
| ScopeGuard & | operator= (const ScopeGuard &)=delete |
| ScopeGuard & | operator= (ScopeGuard &&)=delete |
| ~ScopeGuard () noexcept | |
ScopeGuard utility calls its constructor parameter (callable type) in it's destructor (on the end of the scope)
Examples:
| CB | noexcept callable. |
|
inlineexplicitnoexcept |
|
delete |
|
delete |
|
inlinenoexcept |
|
delete |
|
delete |