Reference: Q0013
Article Last Modified on 25-Jun-2004
In the XLL Plus help file under, XLL+ User Guide > Array results > Returning
vectors to Excel, there is a sample function for sorting. When
I copy that function into my project and try to compile it I get an error
message that says error C2309: 'sort' : is not a member of 'std'.
Can you tell me why I am getting this error and how to fix it?
Include the header file <algorithm>, which contains the sort
alogorithm. e.g. :
#include <algorithm>