@Morwenn, @LokiAstari, @syb0rg I am trying to use a class as a key in an unordered_map and i have override the hash and equal however doing .instert is still not working:
1 IntelliSense: no instance of overloaded function "std::unordered_map<_Kty, _Ty, _Hasher, _Keyeq, _Alloc>::insert [with _Kty=Item, _Ty=int, _Hasher=std::hash<Item>, _Keyeq=std::equal_to<Item>, _Alloc=std::allocator<std::pair<const Item, int>>]" matches the argument list
argument types are: (Item, int)
object type is: std::unordered_map<Item, int, std::hash<Item>, std::equal_to<Item>, std::allocator<std::pair<const Item, i…