طريقة System::MakeScopeGuard

System::MakeScopeGuard method

دالة مصنع تنشئ مثيلات من فئة ScopedGuard.

template<typename F> ScopeGuard<F> System::MakeScopeGuard(F f)
Parameterالوصف
النوع كائن الدالة الذي سيتم استدعاؤه بواسطة كائن ScopedGuard المُنشأ
ParameterTypeالوصف
fFكائن الدالة لتمريره إلى مُنشئ فئة ScopedGuard.

ReturnValue

مثيل جديد من فئة ScopedGuard

انظر أيضًا