Sen API
Sen Libraries
Loading...
Searching...
No Matches
scope_guard.h File Reference

Go to the source code of this file.

Classes

class  sen::ScopeGuard< F >
 Runs the function object F on destruction. More...

Namespaces

namespace  sen

Functions

template<class F>
auto sen::makeScopeGuard (F &&f)
 Makes scope guard from a callable taking no arguments.
template<class F>
 sen::ScopeGuard (F) -> ScopeGuard< F >
template<class F>
auto sen::makeScopeGuard (const F &&f)=delete
template<class F>
auto sen::makeScopeGuard (F &f)=delete
template<class F>
auto sen::makeScopeGuard (const F &f)=delete
template<typename InputF>
auto sen::makeScopeGuard (InputF &&f)