I have a struct "Order" which consists
string name,item;
int qty, highest price, duration;
qty is the amount they wish to buy, highest price is the highest price willing to pay, and duration is how long they will keep this order open for. How would I go about make an unordered_map for this ? I'm assuming I need to write a custom hash function which allows for searching?