[Development] Proposal: adding Q_DECL_NOEXCEPT to many methods

Thiago Macieira thiago.macieira at intel.com
Thu Aug 2 19:19:03 CEST 2012


On quinta-feira, 2 de agosto de 2012 17.15.26, marius.storm-olsen at nokia.com 
wrote:
> So, perhaps we can identify the cases where they are similar and use 
> that with MSVC until proper noexcept()/noexcept(<type>) support is provided?

Yes. I can identify where they are similar: nowhere.

If you add it, the function with the throw() specification will *add* code to 
check all exceptions. That's why throw() is deprecated.

Don't use it.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120802/3945bd2f/attachment.sig>


More information about the Development mailing list