ScopeGuard()

ScopeGuard::ScopeGuard(F) constructor

Constructs an instance that is set up to invoke the specified function object.

System::ScopeGuard<F>::ScopeGuard(F f)

Arguments

ParameterTypeDescription
fFThe function object to be invoked in the destructor of the object being constructed.

See Also