C++ sorting with the STL

Since I’m doing a lot of C++ these days and working a lot with the STL, I want to jot down some things I’ve had to painfully recall about sorting: The std::sort function really only works with vector If you want to sort a set of pointers, you’ll need to create a comparator function or […]