In TR1, unordered_map is accessible from the header file <tr1/unordered_map> as std::tr1::unordered_map .
In the next C ++ 0x standard, it is available from the <unordered_map> header file as std::unordered_map .
therefore you should use the header <tr1/unordered_map> and std::tr1::unordered_map namespace for vc 2008 because vc 2008 does not support C ++ 0x.
To answer the problem indicated in the comment.
Also, make sure you download the package for VS2008 !
Check out the list of supported new features.
New containers (tuple, array, unordered set, etc)
source share