Does Qt has any unordered containers?
I would like to know if Qt supports any unordered containers, since I could not find anything about it on the documentation I came here to confirm it.
In case it doesn’t have would the could below be a workaround for my class?
- inline bool operator<(const MyClass& class1)
- {
- return false;
- }
Since c1 < c2 and c2 < c1, Qt will assume they are equal, according to the documentation.
1 reply
You must log in to post a reply. Not a member yet? Register here!
