[Qt5-feedback] new Qt5 - great! - but: What about exceptions?
Thiago Macieira
thiago at kde.org
Sat May 14 08:09:02 CEST 2011
On Friday, 13 de May de 2011 18:30:38 Keith Gardner wrote:
> Sorry. Boost exception supports the
> N2179-style(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.h
> tml) of exception objects. They also have a wrapper function that is used
> when calling throw to also include type information about the exception.
> Once they make a copy of the exception, they then pass it around inside of
> a shared pointer.
Is this available in C++03?
Does it need people to write "qthrow" instead of "throw"?
> My thoughts are that if a QThread catches an exception that was thrown in
> the run() method, it could emit a signal that it caught an error with the
> exception_ptr object as an argument.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110514/86278cfe/attachment.bin
More information about the Qt5-feedback
mailing list