Capture code to run if the scope exits without an exception.

Synopsis

Declared in <folly/ScopeGuard.h>

#define SCOPE_SUCCESS

Description

Like SCOPE_EXIT, but does not execute the code if the scope exited due to an exception.

Created with MrDocs