Define MASS_SCOPE_DEFER#
Defined in File ScopeDefer.h
Define Documentation#
-
MASS_SCOPE_DEFER(...)#
Run the specified code block when exiting the current scope
const auto file = openFile(); MASS_SCOPE_DEFER(&) { file.close(); }
Defined in File ScopeDefer.h
Run the specified code block when exiting the current scope
const auto file = openFile();
MASS_SCOPE_DEFER(&) {
file.close();
}