hash_map
From: Jon Cosby (qwerty_at_abc.net)
Date: 11/30/03
- Next message: Thore Karlsen: "Re: Reference parameters"
- Previous message: exits funnel: "Second argument to operator="
- Next in thread: P.J. Plauger: "Re: hash_map"
- Reply: P.J. Plauger: "Re: hash_map"
- Reply: Gianni Mariani: "Re: hash_map"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 17:06:29 GMT
I need help in hashmaps. Why doesn't this work:
#include <hash_map>
hash_map <int, string> hm1;
typedef pair <int, string> pr;
hm1.insert(str_pair(1, "Hello"));
It compiles, but crashes at runtime, pointing to something in xhash.
-- Jon Cosby Please do not reply to this email address.
- Next message: Thore Karlsen: "Re: Reference parameters"
- Previous message: exits funnel: "Second argument to operator="
- Next in thread: P.J. Plauger: "Re: hash_map"
- Reply: P.J. Plauger: "Re: hash_map"
- Reply: Gianni Mariani: "Re: hash_map"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|