This is the mail archive of the
mailing list for the Cygwin project.
Re: Bug in dlopen() (or following) code in Cygwin1.dll v 1.5.19-4
Norton Allen wrote:
> > So maybe it looks weird. C++ is like that!
> I would argue that this isn't a feature of C++ in that it cannot be
> implemented within the language but must use assembler for a
> specific architecture, but I agree that the paradigm of not needing
> to check every case is very cool.
It uses the automatic destructor mechanism of C++ to cleanly remove the
SEH fault handler whenever the variable goes out of scope. So in a
sense that is C++ magic, but the actual fault-trapping capability is
provided by SEH which is a service provided by windows and is
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html