Re: [Interest] QString operator==

2012-08-22 Thread Thiago Macieira
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,

Re: [Interest] QString operator==

2012-08-22 Thread André Somers
Op 22-8-2012 13:40, Thiago Macieira schreef: 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...

Re: [Interest] QString operator==

2012-08-21 Thread Giuseppe D'Angelo
On 21 August 2012 12:09, Thomas Meyer pub...@meyer-thomas.com wrote: Hi, I can't find the definition for ... bool operator==(const QString s) const; ... in QString (.h, line 403, Qt v4.8.2 (MS Windows 7)). http://qt.gitorious.org/qt/qt/blobs/4.8/src/corelib/tools/qstring.cpp#line2181 --

Re: [Interest] QString operator==

2012-08-21 Thread Bo Thorsen
Den 21-08-2012 13:09, Thomas Meyer skrev: Hi, I can't find the definition for ... booloperator==(constQStrings)const; ... in QString (.h, line 403, Qt v4.8.2 (MS Windows 7)). I only found it for QLatinString and QByteArray: (Where is the declaration for QByteArray?) ...