Boost logo

Boost :

From: elaine_y_at_[hidden]
Date: 2001-08-24 01:41:30

From conversions.cpp:
// NOTE: a heinous bug in MSVC6 causes exception objects re-thrown in
// this way to be double-destroyed. Thus, you must only use objects
// can tolerate double-destruction with that compiler.

So, I can throw a basic exception in my C++ class and get
"unknown exception" as the 'what'. It would be nice to have
a more specific message and to have specific exception

How can I create an error derived from runtime_error that can
tolerate double-destruction (is that what I need)? Will the
solution be portable to other compilers/platforms? Otherwise,
I know I can ifdef this part for MSVC6.

Boost list run by bdawes at, gregod at, cpdaniel at, john at