[Qt-interest] struct & class

Thiago Macieira thiago at kde.org
Mon Nov 16 20:50:49 CET 2009


Em Segunda-feira 16 Novembro 2009, às 20:32:11, você escreveu:
> Because of unavailability of operator == or != for structure comparison, I
>  had to change {struct of variables} to {class of variables with operator
>  definition}.
> 

What do you mean by "unavailability of operator== or != for structure 
comparison"?

Why don't you add the operators to your struct?
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091116/2e16ab13/attachment.bin 


More information about the Qt-interest-old mailing list