Namespaces
Variants

deduction guides for std::experimental::scope_exit

From cppreference.net

헤더 파일에 정의됨 <experimental/scope>
template < class EF >
scope_exit ( EF ) - > scope_exit < EF > ;
(라이브러리 fundamentals TS v3)

하나의 deduction guide std::experimental::scope_exit 에 제공되어 함수 또는 함수 객체 타입의 인수로부터 deduction을 허용합니다.

인수는 ( function-to-pointer decay 가 발생한 후, 해당되는 경우) 생성된 scope_exit 로 복사되거나 이동됩니다.

예제