[gameprogrammer] Re: using hash_map

Roger D Vargas wrote:
I want to change all my std::map to hash_map, but I have found that under windows even when the include file exists, I dont know how to properly declare a variable (hash_map<int,myclass*> produces an error)
Under linux it belongs to an specific namespace, but I cant find in windows what is the namespace. Does somebody knows how to use it?
The namespace is stdext.
Here's the excerpt from msdn: "In Visual C++ .NET 2003, members of the <hash_map> and <hash_set> header files are no longer in the std namespace, but rather have been moved into the stdext namespace.

-- Ed
--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html

Other related posts: