help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Catching Runtime Exceptions


From: llewelly
Subject: Re: Catching Runtime Exceptions
Date: Fri, 14 May 2004 00:16:22 -0600
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (berkeley-unix)

"Kutty Banerjee" <kuttyb@wpi.edu> writes:

>> I wonder how that works. I mean, you can get a segfault before main() or
>> after it. How would you catch those?
> Hi,
>  for understanding how this works under MS Visual Studio or the win32 as
> such,
>  refer
> "Programming Applications for Windows" by Jeffrey Richter. Hes got an entire
> chapter dedicated to "Structured Exception Handling" which is what this is
> called
>  in win32.

But g++ does not support SESE for any platform. And there are some
    who hold that SESE makes exception-safe code impossible; any
    exception-safe code must rely on operations that cannot throw,
    yet SESE can cause exceptions to emerge from any point.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]