Wish: a normal universal hash-based container #105

Open
opened 3 months ago by Fat-Zer · 0 comments
Collaborator

It would be nice to have a normal universal hash-based template container like Qt4+'s QHash or C++11's std::unordered_map.

As for now there is TQDict (and its flavors TQAsciiDict and TQIntDict), but those don't support arbitrary classes as keys and are painful to use (due to those are subclasses of TQPtrCollection).

PS: Unlike std's unordered_map I believe it is expected to be implicitly sharable like other Qt classes.
PPS: Probably we could nick and backport the Qt's version.

It would be nice to have a normal universal hash-based template container like Qt4+'s `QHash` or C++11's `std::unordered_map`. As for now there is `TQDict` (and its flavors `TQAsciiDict` and `TQIntDict`), but those don't support arbitrary classes as keys and are painful to use (due to those are subclasses of `TQPtrCollection`). PS: Unlike std's `unordered_map` I believe it is expected to be implicitly sharable like other Qt classes. PPS: Probably we could nick and backport the Qt's version.
Fat-Zer added the SL/wishlist label 3 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tqt3#105
Loading…
There is no content yet.