On domingo, 26 de agosto de 2012 14.47.24, Olivier Goffart wrote:
> > That only applies if you use std::string.
> >
> >
> >
> > So don't use std::string. Qt doesn't.
>
> I'm not aware of any problem with std::string. I don't understand your
> comment.  Using std::string should remain safe.

libstdc++ used to implement std::string with reference counting and implicit
sharing, like QString and QByteArray. C++11 does not allow that, so it has
changed.

I have not verified this information, as I don't use nor care about
std::string.

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