Quote Originally Posted by jacek View Post
But still, if the value is a pointer, there is no difference, since find() doesn't dereference pointers.
I guess that for Qt3 with QPtrList it might make a difference. Of course STL doesn't support dedicated lists for pointers, so to port the same behaviour to STL, one has to provide a custom compare functor.