Reason for -no-stl in qt-copy configure recommendation?

Guillaume Laurent glaurent at telegraph-road.org
Mon Apr 28 23:47:05 BST 2003


On Tuesday 29 April 2003 00:31, George Staikos wrote:
> > with Qt (std::unique()). And no, a for loop is not a replacement.
>
>    What do you think unique() does?  Magic O(1) logic?

It could be, if the container would somehow allow it. And in anycase, that's 
not the point. Would you replace memset() or memcopy() with a for() loop ? 
Would you replace a for() loop with if()/goto ? The whole point is that 
unique() says what it does, has a specified behavior, and is already written.

-- 
						Guillaume.
						http://www.telegraph-road.org




More information about the kde-core-devel mailing list