g++ and a hash_map container.
03:34:10 tmp]$ cat main.cc
#include <hash_map>
int main(void) {}
[03:34:43 tmp]$ g++-3.0 -Wall main.cc
main.cc:1:20: hash_map: No such file or directory
[03:35:36 tmp]$
How one can get the hash_map container? According to the STL
documentation it is defined in the header hash_map.
There is a /usr/include/g++-v3/ext/hash_map that's part of
"libstdc++3-dev"
which is for use with g++ 3, but that file says
/* NOTE: This is an internal header file, included by other STL
headers.
* You should not attempt to use it directly.
*/
--
Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
delete the comma and the white space characters and add .net
Reply to: