[Qt-interest] copy constructor in template class with QHash pointer member

Thiago Macieira thiago.macieira at trolltech.com
Tue Aug 25 17:34:34 CEST 2009


Em Terça-feira 25 Agosto 2009, às 16:01:07, Andre Somers escreveu:
> I have a template class that has a QHash pointer as a member

Why do you have a pointer to a QHash? Shouldn't a plain QHash be enough for 
you? It would also solve your problem.

sizeof(QHash) == sizeof(QHash*)

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Development Frameworks
     Sandakerveien 116, NO-0402 Oslo, Norway

Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14     San Francisco, California: Nov 2 - 4
      http://qt.nokia.com/qtdevdays2009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090825/8394ad15/attachment.bin 


More information about the Qt-interest-old mailing list