[Qt-interest] Qt and C++ exceptions

Maxim Egorov m_v_egorov at mail.ru
Sat May 23 15:57:38 CEST 2009


> On 23.05.09 11:59:33, Maxim Egorov wrote:
> > Why qt does not use exceptions? This is a very powerful mechanism
> > which allows to significantly simplify the processing of errors and
> > create more reliable software. I have read
> > http://qt.gitorious.org/qt/pages/CodingConventions and was amazed. I
> > think this is a very strange decision. It seems to me that so hard to
> > find C + + compiler does not support exceptions.
> 
> Then you apparently never came across MSVC6, that compiler is just soo
> strange in what it accepts as proper source and what not, its a mystery
> to me that people paid money for it.

MSVC6 fully supported exceptions. The native support for exceptions had been introduced since version 4.0. Maybe he has problems with the support of templates, but does not support exceptions. I used MSVC6 about 4 years, so I think that I can assert this.
> 
> > So I think it would
> > be wise to consider support for exceptions to be one of the most
> > important tasks.
> 
> Well, Qt lives quite some time without exceptions and even grew quite a
> bit in that time. So apparently there hasn't been an extensive need for
> exceptions thus far, so no urgend need to introduce them now.
> 
> Andreas
> 
> -- 
> Beware of a tall blond man with one black shoe.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 




More information about the Qt-interest-old mailing list