Boost logo

Boost Users :

From: alejandro_escalante_medina (alejandro_escalante_medina_at_[hidden])
Date: 2002-08-29 13:07:50


Hello to everyone. I'm starting to take a look on Boost and was happy
to find things like better smart pointers. Though, in my tests, I
haven't been able to sort, say, a vector of shared_ptr without
defining special comparators. I thought that the overload for the <
operator would help me for that, but that operator compares pointers,
not objects, so it doesn't do the work that I expected.

I guess I'm not understanding this well. Could someone explain this
to me?

Saludos,
Alex


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net