System::MakeScopeGuard 方法
System::MakeScopeGuard method
一个创建 ScopedGuard 类实例的工厂函数。
template<typename F> ScopeGuard<F> System::MakeScopeGuard(F f)
| Parameter | 描述 |
|---|---|
| 该 | 由构造的 ScopedGuard 对象调用的函数对象的类型 |
| Parameter | Type | 描述 |
|---|---|---|
| f | F | 要传递给 ScopedGuard 类构造函数的函数对象。 |
ReturnValue
ScopedGuard 类的新实例。
另见
- Namespace System
- Library Aspose.Page for C++