C++ map program - Error message

Hi All

I am compiling a STL map program in HP-UX using aCC compiler

#include <iostream.h>
#include <sys/map.h>
#include <string>
#include <string.h>

int main()
{
map<string, long> directory;

}

$ aCC map3.cpp
Error 318: "map3.cpp", line 7 # A template name was expected instead of 'map'. Did you forget to define the template?
map<string, long> directory;
^^^^^^^^^^^^^^^^^

Is there any problem in the code or the way of compilation ?

Regards
Dhanamurthy