[Qt-interest] Qt and C++ exceptions
Maxim Egorov
m_v_egorov at mail.ru
Sat May 23 16:30:15 CEST 2009
> Andreas Pakulat wrote:
>
> > I'm not going to drop anything as I don't work at QtSoftware :) Anyway,
>
> Good to know :)
>
> > and introducing completely new ways of how the library is to be used. Qt
> > did a huge change between Qt3 and Qt4 dropping quite some old stuff and
> > changing behaviour in a lot of places and that got a lot of users quite
> > pissed.
>
> And at least twice as much users will be attracted by the fact the
> library they're going to use does not have this old crap :)
>
> Live goes on and nothing is going to stop it.
>
> --
> Piotr Dobrogost
> *** curlpp.org - c++ wrapper for libcurl ***
>
I would say that this is a little obstacles promotion Qt. The problem of some deeper, some parts of Qt are not exception safe (at least in QtCore module). This prevents the using with Qt some libraries that use exceptions, so could potentially lead to memory leaks. In addition, I can't imagine a more natural and easy way to handle error occurring in the constructor, except through the exception. May be someone know?
More information about the Qt-interest-old
mailing list