scope_guard - MichaelMiller-/sec21 GitHub Wiki
#include <sec21/scope_guard.h>
General-purpose scope guard intended to call its exit function when a scope is exited.
This will possible be replaced with https://en.cppreference.com/w/cpp/experimental/lib_extensions_3.