[patch] Looking for an opinion on std::auto_ptr

Soren Harward stharward at gmail.com
Mon Oct 20 19:19:11 CEST 2008


On Monday 20 October 2008 13:02:12 Erik Hovland wrote:
> I am a sucker for std::auto_ptr. Since I know of my weakness, I wanted to
> check the temperature of the rest of the developers. Mainly because
> auto_ptr is not yet
> used.

You'd probably be better off using QPointer instead of std:auto_ptr, if only 
because Amarok uses Qt wherever possible.  It looks like the only place that 
STL is used in core Amarok code is a couple of places where I used STL 
algorithms where no Qt equivalent exists.

-- 
Soren Harward
stharward at gmail.com


More information about the Amarok-devel mailing list