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