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 second

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

Re: [Interest] QString operator==

2012-08-22 Thread André Somers
Op 21-8-2012 13:14, Bo Thorsen schreef: > Den 21-08-2012 13:09, Thomas Meyer skrev: >> Hi, >> I can't find the definition for >> ... >> booloperator==(constQString&s)const; >> ... >> in QString (.h, line 403, Qt v4.8.2 (MS Windows 7)). >> >> I only found it for QLatinString and QByteArray: >> (Wher

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==(constQString&s)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?) > ... > inlin

Re: [Interest] QString operator==

2012-08-21 Thread Giuseppe D'Angelo
On 21 August 2012 12:09, Thomas Meyer 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 -- Giuseppe D'Angelo

[Interest] QString operator==

2012-08-21 Thread Thomas Meyer
Hi, I can't find the definition for ... booloperator==(constQString&s)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?) ... inlineboolQByteArray::operator==(constQString&s)const {returnqStrin