Celeritas 0.7.0-3+develop.835656ac1
Loading...
Searching...
No Matches
Classes | Functions
ScopeExit.hh File Reference
#include <utility>
#include "corecel/Macros.hh"

Classes

class  celeritas::ScopeExit< F >
 Call a function when this object is destroyed (at end of scope). More...
 

Functions

template<class F >
 celeritas::ScopeExit (F &&func) -> ScopeExit< F >