C++ and POSIX Threads Mailing List
Alexander Terekhov
TEREKHOV at de.ibm.com
Fri Dec 19 10:39:33 UTC 2003
Mark Mitchell wrote:
[...]
> * Should cancellation throw an exception?
Of course.
> * What happens if the exception is caught, and not rethrown?
Nothing special. Pls see "example" in the message referenced below.
> * What happens if the exception violates an exception-specification?
That's my favorite. ;-)
http://lists.boost.org/MailArchives/boost/msg27199.php
http://lists.boost.org/MailArchives/boost/msg27206.php
(Subject: [boost] Re: std::expected_exception)
> * What should be done about the fact that ISO C++ says that C library
> functions like "printf" never throw exceptions?
ISO C++ is broken in this respect. Some patching is needed.
regards,
alexander.
More information about the c++-pthreads
mailing list