Re: [gtkmm] OT: C++ exceptions
- From: Stephane SOPPERA <stephane soppera free fr>
- To: Gtkmm <gtkmm-list gnome org>
- Subject: Re: [gtkmm] OT: C++ exceptions
- Date: Sun, 07 Jul 2002 13:34:04 +0200
Obviously VC ignores unexpected() handler, and G++ treats it much too
seriously :)
What do you think about it?
For VisualC++
In MSDN (july 99):
"In the current Microsoft implementation of C++ exception handling,
unexpected calls terminate by default and is never called by the
exception-handling run-time library. There is no particular advantage to
calling unexpected rather than terminate."
(
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt_set_unexpected.asp
)
The fact that g++ terminate should be considered as a bug. (actually it
helps the programmer to find bugs in his code because it forces him to
specify correctly the exception that should be thrown ;-) )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]