Jul 10, 2011 at 6:09pm UTC
Why did you forget a space after the set<float> ? The compiler thinks that's a right shift operator.
Last edited on Jul 10, 2011 at 6:09pm UTC
Jul 10, 2011 at 10:00pm UTC
That is not the issue, I work in Visual Studio 2008 and it can recognize this kind of problems. Also, fixed it, but the hash error still appears. Any other suggestions?
Jul 10, 2011 at 10:32pm UTC
In Visual Studio 2008, hash_map stuff is in namespace stdext, not std.
Try
stdext::hash_map<char *,map<uint16_t,set<float >>, stdext::hash<const char *>,eqstr> symbol_hm;
EDIT:
Mmm... This won't work either. What you posted is not VS's hash_map. Take a look at this here to see
how you can use VS's hash_map ->
http://msdn.microsoft.com/en-us/library/0d462wfh(v=VS.90).aspx
Last edited on Jul 10, 2011 at 10:43pm UTC