[Development] Proposal: adding Q_DECL_NOEXCEPT to many methods
thiago.macieira at intel.com
Thu Aug 2 18:27:29 CEST 2012
On quinta-feira, 2 de agosto de 2012 17.55.54, Konrad Rosenbaum wrote:
> On Thursday 02 August 2012 15:27:03 Thiago Macieira wrote:
> > For example, in when I was just now adding it to qHash for QDateTime, I
> > realised it does complex operations. Right now, none of those operations
> > allocate memory, but it's actually very close to doing that. QDateTime has
> > a d pointer and the hash function does some manipulation of the data. If I
> > add it now, it means it cannot allocate memory, ever, in Qt 5. For that
> > reason, I'm not sure I can do it: what if the implementation for QDateTime
> > when timezones are taken into account needs to new?
> Where is qHash(QDateTime) defined? It doesn't seem to be where I expected it
> (qhash.* or qdatetime.*).
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: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/development/attachments/20120802/b05eaa28/attachment.bin
More information about the Development