3#ifndef _aspose_system_scope_guard_h_
4#define _aspose_system_scope_guard_h_
24#pragma warning(disable : 4722)
31#ifdef __cpp_lib_uncaught_exceptions
32 if (std::uncaught_exceptions() > 0)
34 if (std::uncaught_exception())
Definition: db_command.h:9
ScopeGuard< F > MakeScopeGuard(F f)
A factory function that creates instances of ScopedGuard class.
Definition: scope_guard.h:77
The service class that provides services for running a particular function object when an instance of...
Definition: scope_guard.h:16
void Disable()
Disables guard invocation.
Definition: scope_guard.h:58
~ScopeGuard() noexcept(false)
Invokes the function object passed to the constructor.
Definition: scope_guard.h:27
ScopeGuard(F f)
Constructs an instance that is set up to invoke the specified function object.
Definition: scope_guard.h:19