std::experimental::scope_exit<EF>::~scope_exit

Calls the exit function if the scope_exit is active, then destroys the stored EF (if it is a function object) and any other non-static data members.

# Declarations

~scope_exit() noexcept;

(library fundamentals TS v3)

# See also