On Tuesday, 22 de November de 2011 08.53.47, Olivier Goffart wrote:
> I can't recall an example of non-shared copyable class with a private
> implementation in Qt, so that mean they are rares.

If it's copyable, it usually *can* be shared. Non-sharability would exist in
the case where there are const_cast<> or mutable around, as that would imply
doing write operations in read-only (const) methods, such as lazy
initialisation.

There may be a few cases left of those in Qt.

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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to