News for hackers. Stuff that matters.
Re:Why should I have written ZeroMQ in C, not C++ by signa11 on Thursday May 10, 2012 @03:10PM (#3955347)
> @davedx asks : is there a way to specify multiple different exception types in your C++ throw()?

yeah throw() can contain multiple types that can possibly be emitted e.g. int foo() throw(a,b,c,d) implies that foo can only throw either a/b/c/d types.

Re:Why should I have written ZeroMQ in C, not C++ by Peaker on Thursday May 10, 2012 @05:54PM (#3956312)
Except that is only enforced at runtime, and converts the exception type to unexpected_exception, which is even worse!