I am trying find out solution according to other answer, the following link explained how to merge two key like one key with QHash.
Implementing a QHash-like lookup with multiple keys
But i would want to also get value each of key, for example
m_Lookup.insert(Vehicle(1, 100), 10);
m_Lookup.insert(Vehicle(2, 200), 20);
m_Lookup.insert(Vehicle(3, 300), 30);
m_Lookup.insert(Vehicle(3, 400), 40);
m_Lookup.insert(Vehicle(4, 500), 50);
According to above sample is it possible to get id 3's values?
id 3's values 30 and 40