[Interest] QString operator==

Thiago Macieira thiago.macieira at intel.com
Wed Aug 22 13:40:47 CEST 2012

On quarta-feira, 22 de agosto de 2012 13.35.19, André Somers wrote:
> Hmmm... Wouldn't it make sense to also check on the the d pointers 
> actually being the same? Or is that in qMemEquals?

Hint: please check before asking. Takes a couple of seconds...

static bool qMemEquals(const quint16 *a, const quint16 *b, int length)
    if (a == b || !length)
        return true;


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/interest/attachments/20120822/a09f76ea/attachment.sig>

More information about the Interest mailing list