C++ STL
-
I've looked through all of the STL stuff I can find but I can't find an answer to this one. The STL LIST documentaion that I've found shows that the sort member function of the List container allows one to specify a compare function rather than use the operator< overload form of the sort function. I can't find the proper systax to specify compare function for sort(). Anyone have any examples?
-
I've looked through all of the STL stuff I can find but I can't find an answer to this one. The STL LIST documentaion that I've found shows that the sort member function of the List container allows one to specify a compare function rather than use the operator< overload form of the sort function. I can't find the proper systax to specify compare function for sort(). Anyone have any examples?
Try Here Seek, and ye shall find.