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