System::MakeScopeGuard 메서드

System::MakeScopeGuard method

ScopedGuard 클래스의 인스턴스를 생성하는 팩터리 함수.

template<typename F> ScopeGuard<F> System::MakeScopeGuard(F f)
매개변수설명
구성된 ScopedGuard 객체에 의해 호출될 함수 객체의 타입
매개변수형식설명
fFScopedGuard 클래스의 생성자에 전달할 함수 객체.

ReturnValue

ScopedGuard 클래스의 새 인스턴스

또 보기