verbose terminate_handler

Gabriel Dos Reis gdr@codesourcery.com
Tue Nov 6 08:03:00 GMT 2001


Jason Merrill <jason@redhat.com> writes:

| >>>>> "Phil" == Phil Edwards <pedwards@disaster.jaj.com> writes:
| 
| >> 3) Add verbose_terminate_handler to libsupc++ or libstdc++ and document it;
| >> people would still need to activate it with set_terminate.
| 
| > That's got my vote; plus we should put verbose_terminate_handler in the
| > extensions namespace (__gnu_cxx).
| 
| On further consideration, I think that it makes most sense to put
| current_exception_type in the ABI, and verbose_terminate_handler in
| libstdc++ somewhere.  But where?  More specifically, where should it be
| declared?

How about <exception> as follows

	// standard thingies ...
	// ...

	namespace __gnu_cxx
	{
	  declaration for __verbose_terminate_handler goes here.
	}

?

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com

   



More information about the Libstdc++ mailing list