mrdocs::ScopeExit
Execute a callable when the enclosing scope exits unless dismissed.
Synopsis
Declared in <mrdocs/Support/ScopeExit.hpp>
template<class F>
class ScopeExit;
Member Functions
Name |
Description |
|
Construct with a callable to invoke on scope exit. |
|
Invoke the stored callable if the guard was not dismissed. |
Prevent the callable from running on destruction. |
Deduction Guides
Name |
Description |
Deduction guide for ScopeExit. |
Created with MrDocs