|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-09-29 06:41:48
"John Maddock" <boost.regex_at_[hidden]> writes:
>> The explanation is IMHO a little vague, because the two following
>> scenarios seem to conform to this mode:
>>
>> 1. No try and catch constructs allowed, but stack unwinding can result
>> from some other event (SEH exceptions, something like that.)
>
> No, SEH in the absense of C++ exceptions are just a longjump - no
> stack unwinding takes place, the same with POSIX signals.
This seems a little vaguely worded.
Surely you mean "in the absence of C++ exception (catch) *handlers*",
or something like that?
I know that I can run a program that never throws a C++ exception, but
raises an SEH, and there will be unwinding.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk