[Development] Proposal: adding Q_DECL_NOEXCEPT to many methods

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


On quinta-feira, 2 de agosto de 2012 17.32.36, marius.storm-olsen at nokia.com 
wrote:
> "the compiler can eliminate the mechanics of tracking the lifetime of 
> certain unwindable objects in such a function, and significantly reduce 
> the code size".

That's in the caller.

The problem is in the callee. The function that got the throw() decoration 
gets more code to verify that it is not leaking any exceptions.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- 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/625b95ae/attachment.sig>


More information about the Development mailing list