On quinta-feira, 2 de agosto de 2012 17.55.54, Konrad Rosenbaum wrote:
> Hi,
>
> 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.*).

qdatetime.{h,cpp}

--
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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to