Group: comp.lang.c++
From: ram@zedat.fu-berlin.de (Stefan Ram)
Date: Saturday, April 12, 2008 6:51 PM
Subject: Re: c++ event sink

"sk_usenet" writes:
>There is no concept of thread or process as far as the C++
>language is concerned.

»When an exception is thrown, control is transferred to
the nearest handler with a matching type (15.3); "nearest"
means the handler for which the compound-statement,
ctor-initializer, or function-body following the try
keyword was most recently entered by the thread of control
and not yet exited.« ¯¯¯¯¯¯

ISO/IEC 14882:2003(E), 15.1p2

»If a function is registered with atexit (see ,
18.3) then following the call to exit, any objects with
static storage duration initialized prior to the
registration of that function shall not be destroyed until
the registered function is called from the termination
process and has completed.«
¯¯¯¯¯¯¯
ISO/IEC 14882:2003(E), 3.6.3p3

Safety Articles | Usenet Groups | Usenet News | Bluegrass