[Development] RFC: Deprecating setSharable / isSharable in our containers and QString
Thiago Macieira
thiago.macieira at intel.com
Fri Feb 21 21:52:29 CET 2014
Em sex 21 fev 2014, às 20:11:20, Marc Mutz escreveu:
> On Thursday 20 February 2014 08:32:54 Thiago Macieira wrote:
> > Please raise your hand if you knew we had that feature.
>
> I'm sure you know that COW implementations that hand out references to
> shared state need the sharable flag[1]. So are we talking about removing
> the public part of the API?
Yes. I am talking about removing a method from accessible API (undocumented →
private) in Qt 6.
As for creating a container pointing to non-permanent raw data, I think the
solution of creating a deleter function makes more sense.
> [1] http://stackoverflow.com/questions/2526974/qt-undocumented-method-> setsharable/11108588#11108588
The URL says "undocumented method".
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list