ordered-map
ordered-map copied to clipboard
C++ hash map and hash set which preserve the order of insertion
The readme says it's possible to use the containers with `std::vector` instead of `std::deque`. However, after changing that in `ordered_set.h`, the following code crashes under GCC 7.2.0, probably due to...
From your documentation you have this: > For iterators, operator*() and operator->() return a reference and a pointer to const std::pair instead of std::pair making the value T not modifiable....
Hello! Adding erase_if function would be great. Is it possible? https://en.cppreference.com/w/cpp/container/map/erase_if
This PR adds an `erase_if` function to the map that removes all elements that satisfy a predicate. The function preserves the insertion order shifting elements if necessary. It runs in...
Hi! I'm using this project's `ordered_map`. The values under the keys can change, but after the map is first populated, the keys always remain the same. In that situation, in...
This appeared in one of linters as I was running it over my codebase ;).
It's possible provide the value() method for reverse_iterator? Thanks
This is more of a question than an issue: I have two `tsl::ordered_map` objects with the same signature, e.g. `tsl::ordered_map` I'd like to be able to find the intersection of...
When including the library via `add_subdirectory()` in own `CMakeLists.txt`, I get: ``` CMake Deprecation Warning at ordered-map/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version...