|
Boost : |
From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2003-09-29 11:52:08
After following the discussion, it is not at all clear to me which
approach
should I take to handle BOOST_NO_EXCEPTIONS :)
Finally I rewrote the try-catch blocks of my indexed_set library to
use scope guards, which will work in any situation. Admittedly, it'll
add some runtime penalty, but I don't think it is significant.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
John Maddock ha escrito:
> >Many modern systems implement longjump via "forced unwinding"
> >("Forced unwinding is a single-phase process (phase 2 of the normal
> >exception-handling process"). They may well do so, but that would
> require C++ exceptions to be supported (or at least the stack
> unwinding part) wouldn't it? BOOST_NO_EXCEPTIONS is generally used on
> systems like WINCE where there is no C++ exception support at
> all. John.
> -----------------------------------------------------------------------
> Want to chat instantly with your online friends? Get the FREE Yahoo!
> Messenger
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk