OneOffDriveByPoster @ Sun Oct 10, 2010 10:02 pm wrote:
A class is a better idea because you won't have to move the other fields to match the one you are sorting on.
What do you mean by this?
IIRC, the only difference between a class and a struct in C++ is that Struct members are public by default, while Class members are private by default.