ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.23k stars 391 forks source link

Feature request: support heterogenous lookup for maps #957

Open chenlijun99 opened 1 month ago

chenlijun99 commented 1 month ago

Hi, I think heterogeneous lookup could be a nice addition. Main use case I think is when working with etl::unordered_map and etl::unordered_set where we wouldn't need to allocate the key to find items.

jwellbelove commented 1 month ago

Heterogenous lookup has been implemented for all of the map/set containers, except for etl::unordered_map/set & etl::unordered_multimap/multiset.