std::sort(....) -> error C2039: 'sort' : is not a member of 'std'
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Hi, I try to compile this code:
std::sort(actionlist.begin(), actionlist.end(), compareActionlist);
actionlist is a vector. But i get this error: error C2039: 'sort' : is not a member of 'std' I have tried to putusing namespace std
in the top, but that doesn't help. Can someone help me? Thanks! -
Hi, I try to compile this code:
std::sort(actionlist.begin(), actionlist.end(), compareActionlist);
actionlist is a vector. But i get this error: error C2039: 'sort' : is not a member of 'std' I have tried to putusing namespace std
in the top, but that doesn't help. Can someone help me? Thanks! -