Greetings friends:

I have the following question:

It looks like to use the "listcont.sort()" function of the list container I will obviously need to overload comparison operators.
it uses the "<" operator. Will I need to overload any other operators for this to compile and run successfully? I am planning on sorting by last_name.

Thanks,

Danni

No, you just need <.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.