Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::terminate_handler(3)     C++ Standard Libary    std::terminate_handler(3)

NAME
       std::terminate_handler -	std::terminate_handler

Synopsis
	  Defined in header <exception>
	  typedef void (*terminate_handler)();

	  std::terminate_handler  is  the  function  pointer  type (pointer to
       function	that takes
	  no arguments and returns void), which	is installed  and  queried  by
       the functions
	  std::set_terminate  and std::get_terminate and called	by std::termi-
       nate.

	  The C++ implementation  provides  a  default	std::terminate_handler
       function, which
	  calls	std::abort(). If the null pointer value	is installed (by means
       of
	  std::set_terminate), the implementation may restore the default han-
       dler instead.

See also
	  terminate	function called	when exception handling	fails
			(function)
	  set_terminate	changes	the function to	be called by std::terminate
			(function)
	  get_terminate	obtains	the current terminate_handler
	  (C++11)	(function)

http://cppreference.com		  2022.07.31	     std::terminate_handler(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::terminate_handler&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help