std::experimental::scope_exit<EF>:: release
From cppreference.net
<
cpp
|
experimental
|
scope exit
|
void
release
(
)
noexcept
;
|
(라이브러리 fundamentals TS v3) | |
scope_exit
를
비활성화합니다.
일단
scope_exit
가 비활성화되면, 다시 활성화될 수 없으며 소멸 시 해당 종료 함수를 호출하지 않습니다.
목차 |
매개변수
(없음)
반환값
(없음)
참고 사항
release
는 수동으로 호출되거나
scope_exit
의 이동 생성자에 의해 자동으로 호출될 수 있습니다.
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
새로운
scope_exit
을 생성합니다
(public member function) |
|
scope_exit
이 활성 상태일 때 스코프를 벗어나면 exit 함수를 호출한 후
scope_exit
을 파괴합니다
(public member function) |