Qt offers a set of STL-like containers.
However, there is no container available, which stores ordered values by their order (like std::set) and QSet for some reasons behaves like std::unordered_set. I realize that probably O(1) lookups in the "set" data structure called might be a great thing, but I certainly cannot understand why this decision was made.
Which container should I use to store ordered item collections (I suspect that QMap with fictive values is a very poor choice) and why doesn't Qt offer something like std::set?
I guess there might be some technical reason behind this, but, unfortunately, I can't think of one.