
6 Jul
2010
6 Jul
'10
12:52 p.m.
One idea is to patch the boost headers to add a hash function for each of the smart pointer types (as per the example above) but there must be a better answer than this?
Technically, you can define hash functions in your own headers, in boost namespace (that's what I do). I'm not sure about legal aspects of this though.