It does, it just requires a fairly recent compiler with enabled C++11 support. (e.g., g++ 4.6 apparently doesn't like the "using" notation and IIRC VisualC++ 2010 doesn't know the "functional" header, but clang eats the whole thing without complaints).
But that was intentional - determining the maximum element of an collection takes like 4 lines of code, 1 line if you use the <algorithm> header. It's something you can definitely figure out on your own.