[Development] Proposal: adding Q_DECL_NOEXCEPT to many methods

Konrad Rosenbaum konrad at silmor.de
Thu Aug 2 22:11:37 CEST 2012


On Thursday 02 August 2012, Thiago Macieira wrote:
> On quinta-feira, 2 de agosto de 2012 17.55.54, Konrad Rosenbaum wrote:
> > Where is qHash(QDateTime) defined? It doesn't seem to be where I
> > expected it (qhash.* or qdatetime.*).
> 
> qdatetime.{h,cpp}

Ok, found it - had the wrong branch checked out for some odd reason. This 
has a high likelyhood of causing allocations if time zones, calenders or 
anything fancy is active: it causes time zone calculations, which 
potentially cause allocations.


	Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120802/416cbb3e/attachment.sig>


More information about the Development mailing list