C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::detail::scope_guard< Fun > Class Template Reference

A lightweight scope guard implementation. More...

#include <scope_guard.hpp>

Public Member Functions

 scope_guard (Fun f) noexcept
 
 scope_guard (const scope_guard &)=delete
 
scope_guardoperator= (const scope_guard &)=delete
 
void disable () noexcept
 Disables this guard, i.e., the guard does not run its cleanup code as it goes out of scope.
 

Detailed Description

template<class Fun>
class caf::detail::scope_guard< Fun >

A lightweight scope guard implementation.


The documentation for this class was generated from the following file: