about kde4's smart pointer

Cyrille Berger cberger at cberger.net
Tue Oct 3 15:36:04 BST 2006


On Tuesday 03 October 2006 16:08, Thiago Macieira wrote:
> Doesn't QSharedData/QSharedDataPointer do what you want? They have
> copy-on-write semantics, though.
yes and that's the problem :) They are designed to reduce the number of copy, 
not to replace pointers and be used as smart pointers.
-- 
--- Cyrille Berger ---




More information about the kde-core-devel mailing list