Re: C++ and POSIX Threads Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ and POSIX Threads Mailing List



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.