Dear G++ Users,
I am using g++ (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) and I
cannot use hash_map with std::string as key type. Here is the test
program I have:
#include
#include
using namespace __gnu_cxx;
typedef hash_map MyHashTyp;
int main() {
MyHashTyp map;
MyHashTy
On Jan 23, 10:55 pm, dbtouch wrote:
> Dear G++ Users,
>
> I am using g++ (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) and I
> cannot use hash_map with std::string as key type. Here is the test
> program I have:
>
> #include
> #include
> using namespace __gnu_cxx;
>
> typedef hash_map MyHashTy