Skip to content

Commit

Permalink
Add Lopmap, a more value-centric map
Browse files Browse the repository at this point in the history
Sorts keys by value instead of themselves (i.e. iterating the map will
be in order of value). Functions that normally return a range of
iterators (i.e. equal_range) are based on the positions of values
instead of keys.

Has reverse iterators, allows for custom comparator.
  • Loading branch information
oblivioncth committed Dec 15, 2024
1 parent b399b6a commit 8d7d293
Show file tree
Hide file tree
Showing 3 changed files with 1,161 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ qx_add_component("Core"
qx-iostream.h
qx-json.h
qx-list.h
qx-lopmap.h
qx-processbider.h
qx-progressgroup.h
qx-table.h
Expand Down Expand Up @@ -93,6 +94,7 @@ qx_add_component("Core"
qx-index.dox
qx-iostream.dox
qx-list.dox
qx-lopmap.dox
qx-traverser.dox
qx-cumulation.dox
qx-array.dox
Expand Down
Loading

0 comments on commit 8d7d293

Please sign in to comment.