I have an array of
core::array<MY_Obj*> objects;
then I do
objects.sort();
and inside the MY_Obj I have:
bool operator<(const MY_Obj* a) const
{
return distance < a->distance;
};
but the sort operator never gets called ?



Users browsing this forum: No registered users and 1 guest