I have the line
at the top of a file, and the line
in one of the fuctions in that file. However, when I try to compile it I get the error
error C3861: 'nth_element': identifier not found
at that line. I would expect this if I hadn't included <algorithm> but I did include it. So why am I getting it?