ExitScope
Description
Early-exit the nearest enclosing Scope / ScopeWith block, running auto-deinit cleanly when used inside a Scope. Equivalent to a plain break. Like any C break, it escapes only the innermost enclosing loop - if you are inside a user for/while inside Scope, exit your loop first and then ExitScope.
Success
Breaks out of the enclosing Scope/ScopeWith block; for Scope the two allocators are deinitialized on the way out.
Failure
Macro cannot fail. Compile error if used outside any loop or switch (no enclosing break target).
Usage example (Cross-references)
Usage examples (Cross-references)
No external code usages found in the scanned files.
Last updated on