Hi, can someone help me get my hash_map stuff right....
I want the hash map to store structs of type test1. The key to the hash_map is some unique integer value, whose formula I have already determined. Here is how I am trying to declare my hash_map, but it is obviously wrong. Can someone please help me with it?

Thanks, Kavi


typedef struct
   int num;
   int val;

struct equal
  bool operator()(int i, int j) const

int main()
     hash_map<int, test1, hash<int>, equal> pairs;

     ...blah blah blah