std::experimental::scope_exit<EF>::~scope_exit
From cppreference.com
                    
                                        
                    < cpp | experimental | scope exit
                    
                                                            
                    
| ~scope_exit() noexcept; | (library fundamentals TS v3) | |
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.
See also
| makes the scope_exitinactive(public member function) |