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