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

Mark Kretschmann kretschmann at kde.org
Mon Oct 20 21:19:55 CEST 2008


On Mon, Oct 20, 2008 at 7:19 PM, Soren Harward <stharward at gmail.com> wrote:
> 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.

Getting completely rid of STL is actually a noble goal, as it could
potentially reduce startup times.

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org


More information about the Amarok-devel mailing list