Aubanel MONNIER wrote:
Does the inkscape code already uses smart pointers somewhere ? If not, which implementation do you think we should rely on ? Is the boost one ok ?
Eeeeeeek!!!!!
They scare me.
:-)
Seriously, though, most people I've worked with over the years have come to the same conclusion as I, that smart pointers just trade one set of problems for another. If a language has GC support in it that's one thing, but smart pointers start to get to be a big mess. They make the first 80% of fixing something simpler, but then explode on the last 20%.
They also tend to get grouped together with alloca as memory solutions that are more trouble than they are worth.
Again, this is my personal opinion, and the opinion of people I've worked with.