ETLCPP / etl

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

Feature request: support heterogenous lookup for maps #957

Open chenlijun99 opened 2 months ago

chenlijun99 commented 2 months 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 2 months ago

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