quick_exit_handler:<N:int>()={std::cout<<"quick_exit handler #(N)$"<<std::endl;// flush is intended}at_exit_handler:()={std::cout<<"at_exit handler\n";}R:type={operator=:(movethis)={std::cout<<"destructor\n";}}main:()->int={ifstd::at_quick_exit(quick_exit_handler<1>)||std::at_quick_exit(quick_exit_handler<2>){std::cerr<<"Registration failed\n";returnEXIT_FAILURE;}std::atexit(at_exit_handler);// the handler will not be calledresource:R=();// the destructor will not be calledstd::quick_exit(EXIT_SUCCESS);std::cout<<"This statement is unreachable...\n";}