I have to use multiple keys (int type) to store and retrieve a value from a hash table . I will use multiple keys to index an item. I need a quick entry and look for the hash table, by the way, I do not have permission to use Boost Library in the implementation.
How can I do this?
Thank you.
If you mean two ints as a key then unordered_map < Std :: pair and lt; Int, int>, value_type & gt;
. See if you want to index a set of data by multiple keys.
Comments
Post a Comment